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