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