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