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