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