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