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