for n in io.read"*a":gmatch"Y()"do print(n-2)end