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