PROGRAMMING:Bit operation
Given a number, a bit of the number is set to 0, 1 or negated.
###Input format:
Line 1: enter a decimal integer( 32 bit int value range, which is represented by binary complement)
After the second line: enter a bit operation requirement for each line.
Format: input bit operation operation type ('` 1' means set to 0 ',' ` 2 'means set to 1', '` 3' means bit by bit negation ') (from the lowest bit to the highest bit, ranging from 0 to 31')
Finally, enter '^ Z' or end of file (EOF flag).
###Output format:
The integer value of the output bit after operation.
###Input example:
Here is a set of inputs. For example:
```in
three
1 0
1 1
2 3
3 1
3 2
2 0
```
###Output example:
The corresponding output is given here. For example:
```out
fifteen
```
answer:If there is no answer, please comment
###Input format:
Line 1: enter a decimal integer( 32 bit int value range, which is represented by binary complement)
After the second line: enter a bit operation requirement for each line.
Format: input bit operation operation type ('` 1' means set to 0 ',' ` 2 'means set to 1', '` 3' means bit by bit negation ') (from the lowest bit to the highest bit, ranging from 0 to 31')
Finally, enter '^ Z' or end of file (EOF flag).
###Output format:
The integer value of the output bit after operation.
###Input example:
Here is a set of inputs. For example:
```in
three
1 0
1 1
2 3
3 1
3 2
2 0
```
###Output example:
The corresponding output is given here. For example:
```out
fifteen
```
answer:If there is no answer, please comment