# -*- coding: utf-8 -*- import math K = 100 - input() S = input() print int(math.floor(float(S) / float(K) * 100))