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