import sys sys.setrecursionlimit(100000) import pypyjit pypyjit.set_param('max_unroll_recursion=-1') n,m,k=map(int,input().split()) x=0 for i in map(int,input().split()):x|=1<<(int(i)-1) con=[[] for _ in range(n)] for i in range(m): u,v=map(int,input().split()) con[u-1].append(v-1) con[v-1].append(u-1) possible=[0]*(1<>nex)&1: dfs(nex) visited^=1<