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