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