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