# coding:utf-8 from collections import Counter as cc S_before = input() N = int(input()) S_after = input() ans = "FAILURE" print(ans)