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