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