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