Clarifications: While performing initial iteration don't bother about the sign. Take the highest value as entering variable