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