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