
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
The following program calculates the function value of a given function:

```
INPUT x
IF x <= 0 THEN y = -x
ELSE
  IF x > 0 AND x <= 1 THEN y = 0
  ELSE y = x - 1
END IF
END IF
PRINT y
END
```

If the execution result is 3, the input value of x is _______.

Present the answer in LaTex format: \boxed{Your answer}
user