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