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