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