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