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