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