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