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