Hexwhale Interview Question

basic programming ,