Coding montage! This bug is going to be very entertaining for idiots like me, who doesn't know how print function works along with what you write on inputs! ._.
12:10
from line 10 to 14 is the same as what i wrote for a shorter version, with input_x implementation
12:10
but for some fucking reason that bug screws me over while debugging
12:13
so lesson learned: always place print in the end of the line