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