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