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