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