Analec Infotech interview question

Not much more difficult