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