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