MosChip interview question

Not very difficult