I need help for math problem.i can\'t find an algorithm for this problem.An algorithm should not have any Math functions.
min(3