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