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