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