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