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