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