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