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