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