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