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