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