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