There are 7 baskets on the table. Each basket has 7, 5, 10, 18, 9, 8 and 17 apples. Sean chose second, Olivia chose seventh, Noah chose fourth, John chose sixth, Liam chose fifth, Emma chose first, and Matt chose third. How many apples did John and Matt choose in total?