import std.stdio, std.string, std.conv, std.range, std.container, std.algorithm; void main(){ ulong n = readln.strip.to!ulong; auto ret = 0; foreach(i; iota(1, n+1)) if(n%i == 0) ret += 1; writeln(ret); }