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