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