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