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