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