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