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