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