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