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