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