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