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