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