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