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