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