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