MosChip Interview Question

Not very difficult