
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
Sequentially throw a die and record the numbers obtained as $a$ and $b$. Perform the following operations:  
```
INPUT "a, b="; a, b  
IF a >= b THEN  
y = a - b  
ELSE  
y = b - a  
END IF  
PRINT y  
END  
```
(1) If $a=3$, $b=6$, find the value of $y$ output by the computer after running the program.  
(2) If "the output value of $y$ is 2" is event A, calculate the probability of event A occurring.

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