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