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