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