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