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