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