from decimal import * from math import * n = Decimal(int(input())) ans = sqrt(n / Decimal(pi)) print(int(ans))