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