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