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