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