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