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