import std.stdio; import std.conv; import std.string; void main() { immutable n = readln.chomp.to!int; int tapCount; for (int i = 1; i < n; i *= 2) { ++tapCount; } writeln(tapCount); }