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