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