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