import std.stdio; void main() { int len; readf("%d", &len); writeln(len - 1); }