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