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