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