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