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