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