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