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