# Story
You were supposed to implement a node-based calculator. Hopefully for you, a colleague agreed to do the task. When the management saw the code, they were infuriated with its low quality, and as a punishment told you to shorten it as much as possible...
___
# Task
You will be given a ready solution passing all the fixed and random tests. Unfortunately for you, it is very long and overly repetitive. Current code length is `901` characters. Your task is to shorten it to at most `300` characters.
**Note/hint**: you can modify the implementation any way you want, as long as it is written using only OOP; the sample tests check solution's functionality the same way as the final tests do - if your solution passes the former, it will also pass the latter.
class value:
 def __init__(s,x,y=0):s.x=getattr(x.x,s._)(y.x)if y else x
 def compute(s):return s.x
locals().update({p[2:-2]:type(p,(value,),{"_":p})for p in dir(int)if"_"==p[-2]})
class value:
 def __init__(s,x,y=0):s.x=getattr(x.x,s._)(y.x)if y else x
 def compute(s):return s.x
locals().update({p[2:-2]:type(p,(value,),{"_":p})for p in dir(int)if"_"==p[-2]})