Olympic Budget Passions
As you may know, even before the 2012 Olympics began, there was considerable debate about its massive and burdensome budget for the United Kingdom. During the preparations for the Olympic Games, nearly every possible measure to cut costs was considered.
One such idea was to print athlete numbers using the binary numeral system. This was because printing the digits 0 and 1 on an athlete's number would cost only 1 shilling each, whereas printing any other digit would be more expensive. Although this proposal was ultimately not adopted, and athletes received the usual decimal numbers (perhaps contributing to the high costs of the Olympics? :) ), your task is to calculate how much it would have cost to produce an athlete's number using the proposed method if their number at the Olympics was N.
Input
A single number - the athlete's number at the Olympics N (N ≤ 10^9).
Output
A single number - the cost of producing the athlete's number using the binary numeral system.