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