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