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