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