#!/usr/bin/env python3 # This solution assumes that "slipped onto the wrong key" implies "instead of the correct key", # whereas the problem actually assumes that you typed an _extra_ key. n, k, p = map(int, input().split()) print(min( (n - k + 1 + p / 100 * (n + 4), "continue"), (n - k + 2, "backspace"), (n + 4, "restart") )[1])