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