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