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