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