Honeywell Interview Question

Write a program to solve given task.