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