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