You have n super washing machines on a line. Level up your coding skills and quickly land a job. The total gain lose between each two machines.