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