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