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