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