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