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