Edit This Code:
See Result »
Remove the comment (at the beginning of the lines) to test each case:
Result: