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