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