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