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