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