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