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