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