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