Amdocs Interview Question

puzzle