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