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