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