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