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