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