import std.stdio, std.conv, std.string, std.range, std.math, std.bigint, std.algorithm, core.bitop; void main() { auto S = readln.strip.to!(dchar[]); S.count!`a=='…'` == 0 ? 0.writeln : S.map!(a => (a!='…'?' ':'…').to!dchar).array.split .map!"a.length" .reduce!max.writeln; }