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