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