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