hackerrank Functional March