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