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