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