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