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