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