Bell Interview Question

Very easy