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