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