Division by zero and empty input