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