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