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