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