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