Sanmax Interview Question

basic intro