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