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