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