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