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