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