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