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