def string_length(s): return len(s) # 主函数 def main(): s = input() length = string_length(s) print(length) # 调用主函数 if __name__ == "__main__": main()