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