Skip to content

Baekjoon 2857

1. Problem

문제 확인하기

2. Solution

lst = []
for i in range(1, 6):
    w = input()
    if "FBI" in w:
        lst.append(i)
if lst:
    print(*lst)
else:
    print("HE GOT AWAY!")