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