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