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