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