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