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