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