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