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