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