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