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