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