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