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