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