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