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