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