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