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