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