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