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