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