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