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