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