#!/usr/bin/env python3 # This submission forgets the 0.1 seconds for submitting the password when choosing the "restart" strategy. n, k, p = map(int, input().split()) print(min( (n - k + 1 + p / 100 * (n + 4), "continue"), (n - k + 2 + (1 - p / 100) * (n + 4), "backspace"), (n + 3, "restart") )[1])