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