def debug(var) p "debug #{var}" if ARGV[0]=="LOCAL_DEV" end S = STDIN.gets.strip n=S.size ans=(n+1)/2 p ans