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