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