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