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