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