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