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