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