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