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