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