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