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