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