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