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