s=input() n=len(s) if len(s)>32: print(400) exit() for i in range(n): if 0