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