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