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