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