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