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