https://www.acmicpc.net/problem/25195import sysinput = sys.stdin.readlinesys.setrecursionlimit(10**7)n,m = map(int, input().split())graph = [[] for _ in range(n+1)]for _ in range(m): u, v = map(int, input().split()) graph[u].append(v)s = int(input())bearList = list(map(int, input().split()))flag = Falsedef dfs(v): global flag if v in bearList: # 팬을 만난 경우 return if graph..