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