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