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