Using conditions:
Without using conditions: