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