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