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