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