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