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