node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 14, 2, 17, 18, 18, 13, 13, 39, 13, 4, 13, 17, 4, 13, 14, 40, 18, 18, 13, 13, 13, 17, 4, 13, 17, 4, 13, 42, 2, 2, 2, 13, 17, 13, 2, 18, 18, 13, 13, 2, 13, 17, 17, 0, 13, 17, 14, 2, 17, 18, 18, 13, 13, 39, 2, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 13, 13, 10, 17, 13 ]
[ [ 101, 2 ], [ 101, 11 ], [ 15, 14 ], [ 99, 17 ], [ 107, 22 ], [ 110, 25 ], [ 29, 28 ], [ 99, 31 ], [ 108, 37 ], [ 28, 38 ], [ 108, 50 ], [ 28, 51 ], [ 111, 52 ], [ 105, 52 ], [ 111, 63 ], [ 105, 63 ], [ 102, 65 ], [ 108, 69 ], [ 28, 70 ], [ 111, 72 ], [ 105, 72 ], [ 104, 76 ], [ 108, 83 ], [ 28, 84 ], [ 105, 87 ], [ 111, 87 ], [ 101, 99 ], [ 101, 102 ], [ 104, 105 ], [ 107, 108 ], [ 110, 111 ] ]
[ "H, W = map(int, input().split())\nA = [input() for _ in range(H)]\nx = 0\nfor h in range(H):\n if '#' in A[h][:x]:\n print('Impossible')\n exit()\n if A[h][x] != '#':\n print('Impossible')\n exit()\n while x+1 < W and A[h][x+1] == '#':\n x += 1\n\n if '#' in A[h][x+1:]:\n print('Impossible')\n exit()\n\nprint('Possible')", "H, W = map(int, input().split())", "H", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "W", "input() for _ in range(H)", "for _ in range(H)", "_", "range(H)", "range", "H", "for _ in range(H)", "input()", "input", "A = [input() for _ in range(H)]", "A", "[input() for _ in range(H)]", "x = 0", "x", "0", "for h in range(H):\n if '#' in A[h][:x]:\n print('Impossible')\n exit()\n if A[h][x] != '#':\n print('Impossible')\n exit()\n while x+1 < W and A[h][x+1] == '#':\n x += 1\n\n if '#' in A[h][x+1:]:\n print('Impossible')\n exit()", "h", "range(H)", "range", "H", "if '#' in A[h][:x]:\n print('Impossible')\n exit()\n ", "'#' in A[h][:x]", "'#'", "A[h][:x]", "[h]", "A", "h", ":x", "x", "print('Impossible')", "print", "'Impossible'", "exit()", "exit", "if A[h][x] != '#':\n print('Impossible')\n exit()\n ", "A[h][x] != '#'", "A[h][x]", "[h]", "A", "h", "x", "'#'", "print('Impossible')", "print", "'Impossible'", "exit()", "exit", "while x+1 < W and A[h][x+1] == '#':\n x += 1\n\n ", "x+1 < W and A[h][x+1] == '#'", "x+1 < W", "x+1", "x", "1", "W", "A[h][x+1] == '#'", "A[h][x+1]", "[h]", "A", "h", "x+1", "x", "1", "'#'", "x += 1", "x", "1", "if '#' in A[h][x+1:]:\n print('Impossible')\n exit()", "'#' in A[h][x+1:]", "'#'", "A[h][x+1:]", "[h]", "A", "h", "x+1:", "x+1", "x", "1", "print('Impossible')", "print", "'Impossible'", "exit()", "exit", "print('Possible')", "print", "'Possible'", "H, W = map(int, input().split())", "map(int, input().split())", "H", "W = map(int, input().split())", "map(int, input().split())", "W", "x += 1", "1", "x", "A = [input() for _ in range(H)]", "[input() for _ in range(H)]", "A", "x = 0", "0", "x" ]
H, W = map(int, input().split()) A = [input() for _ in range(H)] x = 0 for h in range(H): if '#' in A[h][:x]: print('Impossible') exit() if A[h][x] != '#': print('Impossible') exit() while x+1 < W and A[h][x+1] == '#': x += 1 if '#' in A[h][x+1:]: print('Impossible') exit() print('Possible')
[ 7, 15, 13, 12, 13, 12, 13, 14, 2, 13, 17, 0, 13, 4, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 28, 13, 4, 13, 13, 28, 13, 4, 13, 13, 14, 2, 2, 13, 2, 13, 17, 2, 13, 2, 13, 17, 9, 14, 2, 2, 18, 18, 13, 13, 2, 13, 17, 17, 2, 18, 18, 13, 2, 13, 17, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 4, 13, 10, 12, 13, 10, 12, 13, 10, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 94, 12 ], [ 86, 14 ], [ 94, 15 ], [ 19, 18 ], [ 95, 21 ], [ 83, 24 ], [ 88, 26 ], [ 30, 29 ], [ 95, 32 ], [ 35, 34 ], [ 92, 37 ], [ 29, 41 ], [ 95, 43 ], [ 34, 46 ], [ 92, 48 ], [ 89, 56 ], [ 29, 57 ], [ 34, 59 ], [ 89, 65 ], [ 29, 67 ], [ 34, 69 ], [ 88, 89 ], [ 94, 92 ], [ 94, 95 ] ]
[ "import sys\ndef S(): return sys.stdin.readline().rstrip()\ndef IL(): return map(int,sys.stdin.readline().rstrip().split())\n\nif __name__=='__main__':\n h,w = IL()\n m = [S() for _ in range(h)]\n for i in range(h):\n for j in range(w):\n if i==h-1 or j==w-1:\n continue\n if m[i][j+1]=='#' and m[i+1][j]=='#':\n print('Impossible')\n exit()\n print('Possible')\n exit()", "import sys", "sys", "def S(): return sys.stdin.readline().rstrip()", "S", "def IL(): return map(int,sys.stdin.readline().rstrip().split())", "IL", "if __name__=='__main__':\n h,w = IL()\n m = [S() for _ in range(h)]\n for i in range(h):\n for j in range(w):\n if i==h-1 or j==w-1:\n continue\n if m[i][j+1]=='#' and m[i+1][j]=='#':\n print('Impossible')\n exit()\n print('Possible')\n exit()", "__name__=='__main__'", "__name__", "'__main__'", "h,w = IL()", "h", "IL()", "IL", "w", "S() for _ in range(h)", "for _ in range(h)", "_", "range(h)", "range", "h", "for _ in range(h)", "S()", "S", "m = [S() for _ in range(h)]", "m", "[S() for _ in range(h)]", "for i in range(h):\n for j in range(w):\n if i==h-1 or j==w-1:\n continue\n if m[i][j+1]=='#' and m[i+1][j]=='#':\n print('Impossible')\n exit()\n ", "i", "range(h)", "range", "h", "for j in range(w):\n if i==h-1 or j==w-1:\n continue\n if m[i][j+1]=='#' and m[i+1][j]=='#':\n print('Impossible')\n exit()\n ", "j", "range(w)", "range", "w", "if i==h-1 or j==w-1:\n continue\n ", "i==h-1 or j==w-1", "i==h-1", "i", "h-1", "h", "1", "j==w-1", "j", "w-1", "w", "1", "continue", "if m[i][j+1]=='#' and m[i+1][j]=='#':\n print('Impossible')\n exit()\n ", "m[i][j+1]=='#' and m[i+1][j]=='#'", "m[i][j+1]=='#'", "m[i][j+1]", "[i]", "m", "i", "j+1", "j", "1", "'#'", "m[i+1][j]=='#'", "m[i+1][j]", "[i+1]", "m", "i+1", "i", "1", "j", "'#'", "print('Impossible')", "print", "'Impossible'", "exit()", "exit", "print('Possible')", "print", "'Possible'", "exit()", "exit", "def S(): return sys.stdin.readline().rstrip()", "def S(): return sys.stdin.readline().rstrip()", "S", "def IL(): return map(int,sys.stdin.readline().rstrip().split())", "def IL(): return map(int,sys.stdin.readline().rstrip().split())", "IL", "m = [S() for _ in range(h)]", "[S() for _ in range(h)]", "m", "w = IL()", "IL()", "w", "h,w = IL()", "IL()", "h" ]
import sys def S(): return sys.stdin.readline().rstrip() def IL(): return map(int,sys.stdin.readline().rstrip().split()) if __name__=='__main__': h,w = IL() m = [S() for _ in range(h)] for i in range(h): for j in range(w): if i==h-1 or j==w-1: continue if m[i][j+1]=='#' and m[i+1][j]=='#': print('Impossible') exit() print('Possible') exit()
[ 7, 15, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 13, 0, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 28, 13, 4, 13, 13, 14, 2, 18, 18, 13, 13, 13, 17, 0, 13, 17, 0, 13, 39, 39, 17, 17, 39, 17, 17, 0, 13, 4, 13, 39, 39, 17, 17, 17, 41, 28, 13, 4, 13, 13, 4, 13, 0, 13, 13, 0, 18, 18, 13, 17, 17, 17, 0, 13, 17, 42, 2, 4, 13, 13, 17, 0, 13, 4, 18, 13, 13, 13, 13, 14, 2, 2, 13, 2, 13, 17, 2, 13, 2, 13, 17, 0, 13, 13, 3, 28, 13, 13, 13, 14, 2, 2, 2, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 2, 18, 18, 13, 2, 13, 13, 2, 13, 13, 17, 40, 18, 18, 13, 2, 13, 13, 2, 13, 13, 4, 18, 13, 13, 39, 2, 13, 13, 2, 13, 13, 2, 13, 17, 0, 18, 18, 13, 2, 13, 13, 2, 13, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 13, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13, 10, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 207, 3 ], [ 207, 12 ], [ 16, 15 ], [ 208, 18 ], [ 222, 25 ], [ 210, 28 ], [ 32, 31 ], [ 208, 34 ], [ 37, 36 ], [ 202, 39 ], [ 223, 44 ], [ 31, 45 ], [ 36, 46 ], [ 204, 49 ], [ 213, 52 ], [ 216, 61 ], [ 72, 71 ], [ 208, 74 ], [ 225, 78 ], [ 86, 81 ], [ 226, 83 ], [ 195, 88 ], [ 217, 94 ], [ 231, 97 ], [ 217, 100 ], [ 231, 102 ], [ 231, 103 ], [ 229, 107 ], [ 208, 109 ], [ 220, 112 ], [ 202, 114 ], [ 198, 117 ], [ 232, 118 ], [ 229, 130 ], [ 208, 132 ], [ 220, 135 ], [ 202, 137 ], [ 223, 141 ], [ 229, 143 ], [ 220, 146 ], [ 226, 152 ], [ 229, 154 ], [ 220, 157 ], [ 217, 161 ], [ 229, 165 ], [ 220, 168 ], [ 232, 171 ], [ 183, 174 ], [ 226, 176 ], [ 229, 178 ], [ 220, 181 ], [ 199, 186 ], [ 196, 186 ], [ 205, 187 ], [ 211, 187 ], [ 195, 196 ], [ 232, 198 ], [ 198, 199 ], [ 207, 202 ], [ 204, 205 ], [ 207, 208 ], [ 210, 211 ], [ 213, 214 ], [ 216, 217 ], [ 231, 220 ], [ 222, 223 ], [ 225, 226 ], [ 231, 229 ], [ 231, 232 ] ]
[ "from collections import deque\n\nH, W = map(int, input().split())\ntiles = [list(input()) for _ in range(H)]\nmoves_cnt = 0\nfor h in range(H):\n for w in range(W):\n if tiles[h][w] == '#':\n moves_cnt += 1\n\ndhw = [(0, 1), (1, 0)]\n\nmoves = deque([(0, 0, 1)])\nchecked = [[False for _ in range(W)] for _ in range(H)]\nchecked[0][0] = True\nans = 0\nwhile len(moves) > 0:\n h, w, m = moves.pop()\n if h == H-1 and w == W-1:\n ans = m\n break\n for dh, dw in dhw:\n if h+dh < H and w+dw < W and tiles[h+dh][w+dw] == '#' and not checked[h+dh][w+dw]:\n moves.appendleft((h+dh, w+dw, m+1))\n checked[h+dh][w+dw] = True\nif ans == moves_cnt:\n print('Possible')\nelse:\n print('Impossible')", "from collections import deque", "H, W = map(int, input().split())", "H", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "W", "list(input()) for _ in range(H)", "for _ in range(H)", "_", "range(H)", "range", "H", "for _ in range(H)", "list(input())", "list", "input()", "input", "tiles = [list(input()) for _ in range(H)]", "tiles", "[list(input()) for _ in range(H)]", "moves_cnt = 0", "moves_cnt", "0", "for h in range(H):\n for w in range(W):\n if tiles[h][w] == '#':\n moves_cnt += 1", "h", "range(H)", "range", "H", "for w in range(W):\n if tiles[h][w] == '#':\n moves_cnt += 1", "w", "range(W)", "range", "W", "if tiles[h][w] == '#':\n moves_cnt += 1", "tiles[h][w] == '#'", "tiles[h][w]", "[h]", "tiles", "h", "w", "'#'", "moves_cnt += 1", "moves_cnt", "1", "dhw = [(0, 1), (1, 0)]", "dhw", "[(0, 1), (1, 0)]", "(0, 1)", "0", "1", "(1, 0)", "1", "0", "moves = deque([(0, 0, 1)])", "moves", "deque([(0, 0, 1)])", "deque", "[(0, 0, 1)]", "(0, 0, 1)", "0", "0", "1", "[False for _ in range(W)] for _ in range(H)", "for _ in range(H)", "_", "range(H)", "range", "H", "for _ in range(H)", "[False for _ in range(W)]", "checked = [[False for _ in range(W)] for _ in range(H)]", "checked", "[[False for _ in range(W)] for _ in range(H)]", "checked[0][0] = True", "checked[0][0]", "[0]", "checked", "0", "0", "True", "ans = 0", "ans", "0", "while len(moves) > 0:\n h, w, m = moves.pop()\n if h == H-1 and w == W-1:\n ans = m\n break\n for dh, dw in dhw:\n if h+dh < H and w+dw < W and tiles[h+dh][w+dw] == '#' and not checked[h+dh][w+dw]:\n moves.appendleft((h+dh, w+dw, m+1))\n checked[h+dh][w+dw] = True", "len(moves) > 0", "len(moves)", "len", "moves", "0", "h, w, m = moves.pop()", "h", "moves.pop()", "moves.pop", "moves", "pop", "w", "m", "if h == H-1 and w == W-1:\n ans = m\n break\n ", "h == H-1 and w == W-1", "h == H-1", "h", "H-1", "H", "1", "w == W-1", "w", "W-1", "W", "1", "ans = m", "ans", "m", "break", "for dh, dw in dhw:\n if h+dh < H and w+dw < W and tiles[h+dh][w+dw] == '#' and not checked[h+dh][w+dw]:\n moves.appendleft((h+dh, w+dw, m+1))\n checked[h+dh][w+dw] = True", "dh", "dw", "dhw", "if h+dh < H and w+dw < W and tiles[h+dh][w+dw] == '#' and not checked[h+dh][w+dw]:\n moves.appendleft((h+dh, w+dw, m+1))\n checked[h+dh][w+dw] = True", "h+dh < H and w+dw < W and tiles[h+dh][w+dw] == '#' and not checked[h+dh][w+dw]", "h+dh < H and w+dw < W and tiles[h+dh][w+dw] == '#'", "h+dh < H and w+dw < W", "h+dh < H", "h+dh", "h", "dh", "H", "w+dw < W", "w+dw", "w", "dw", "W", "tiles[h+dh][w+dw] == '#'", "tiles[h+dh][w+dw]", "[h+dh]", "tiles", "h+dh", "h", "dh", "w+dw", "w", "dw", "'#'", "not checked[h+dh][w+dw]", "checked[h+dh][w+dw]", "[h+dh]", "checked", "h+dh", "h", "dh", "w+dw", "w", "dw", "moves.appendleft((h+dh, w+dw, m+1))", "moves.appendleft", "moves", "appendleft", "(h+dh, w+dw, m+1)", "h+dh", "h", "dh", "w+dw", "w", "dw", "m+1", "m", "1", "checked[h+dh][w+dw] = True", "checked[h+dh][w+dw]", "[h+dh]", "checked", "h+dh", "h", "dh", "w+dw", "w", "dw", "True", "if ans == moves_cnt:\n print('Possible')\nelse:\n print('Impossible')", "ans == moves_cnt", "ans", "moves_cnt", "print('Possible')", "print", "'Possible'", "print('Impossible')", "print", "'Impossible'", "ans = 0", "0", "ans", "ans = m", "m", "ans", "W = map(int, input().split())", "map(int, input().split())", "W", "moves_cnt += 1", "1", "moves_cnt", "H, W = map(int, input().split())", "map(int, input().split())", "H", "moves_cnt = 0", "0", "moves_cnt", "dhw = [(0, 1), (1, 0)]", "[(0, 1), (1, 0)]", "dhw", "moves = deque([(0, 0, 1)])", "deque([(0, 0, 1)])", "moves", "w, m = moves.pop()", "moves.pop()", "w", "tiles = [list(input()) for _ in range(H)]", "[list(input()) for _ in range(H)]", "tiles", "checked = [[False for _ in range(W)] for _ in range(H)]", "[[False for _ in range(W)] for _ in range(H)]", "checked", "h, w, m = moves.pop()", "moves.pop()", "h", "m = moves.pop()", "moves.pop()", "m" ]
from collections import deque H, W = map(int, input().split()) tiles = [list(input()) for _ in range(H)] moves_cnt = 0 for h in range(H): for w in range(W): if tiles[h][w] == '#': moves_cnt += 1 dhw = [(0, 1), (1, 0)] moves = deque([(0, 0, 1)]) checked = [[False for _ in range(W)] for _ in range(H)] checked[0][0] = True ans = 0 while len(moves) > 0: h, w, m = moves.pop() if h == H-1 and w == W-1: ans = m break for dh, dw in dhw: if h+dh < H and w+dw < W and tiles[h+dh][w+dw] == '#' and not checked[h+dh][w+dw]: moves.appendleft((h+dh, w+dw, m+1)) checked[h+dh][w+dw] = True if ans == moves_cnt: print('Possible') else: print('Impossible')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 0, 13, 17, 28, 13, 13, 0, 13, 4, 18, 13, 13, 17, 4, 13, 8, 2, 13, 2, 2, 13, 13, 17, 17, 17, 10, 4, 13, 10, 17, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 64, 2 ], [ 64, 11 ], [ 58, 13 ], [ 17, 16 ], [ 65, 19 ], [ 59, 22 ], [ 55, 27 ], [ 31, 30 ], [ 59, 30 ], [ 61, 33 ], [ 30, 36 ], [ 62, 43 ], [ 56, 43 ], [ 65, 46 ], [ 53, 47 ], [ 64, 53 ], [ 55, 56 ], [ 58, 59 ], [ 61, 62 ], [ 64, 65 ] ]
[ "h,w=map(int,input().split())\na=[]\nfor _ in range(h):\n a.append(input())\nn=0\nfor ai in a:\n n+=ai.count('#')\nprint('Possible' if n==h+w-1 else 'Impossible')", "h,w=map(int,input().split())", "h", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "w", "a=[]", "a", "[]", "for _ in range(h):\n a.append(input())", "_", "range(h)", "range", "h", "a.append(input())", "a.append", "a", "append", "input()", "input", "n=0", "n", "0", "for ai in a:\n n+=ai.count('#')", "ai", "a", "n+=ai.count('#')", "n", "ai.count('#')", "ai.count", "ai", "count", "'#'", "print('Possible' if n==h+w-1 else 'Impossible')", "print", "'Possible' if n==h+w-1 else 'Impossible'", "n==h+w-1", "n", "h+w-1", "h+w", "h", "w", "1", "'Possible'", "'Impossible'", "w=map(int,input().split())", "map(int,input().split())", "w", "n=0", "0", "n", "a=[]", "[]", "a", "n+=ai.count('#')", "ai.count('#')", "n", "h,w=map(int,input().split())", "map(int,input().split())", "h" ]
h,w=map(int,input().split()) a=[] for _ in range(h): a.append(input()) n=0 for ai in a: n+=ai.count('#') print('Possible' if n==h+w-1 else 'Impossible')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 13, 0, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 4, 18, 18, 13, 13, 13, 17, 4, 13, 8, 2, 13, 2, 2, 13, 13, 17, 17, 17, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 65, 2 ], [ 65, 11 ], [ 15, 14 ], [ 63, 17 ], [ 68, 24 ], [ 56, 27 ], [ 31, 30 ], [ 63, 33 ], [ 59, 35 ], [ 69, 39 ], [ 30, 40 ], [ 60, 47 ], [ 57, 47 ], [ 63, 50 ], [ 66, 51 ], [ 56, 57 ], [ 59, 60 ], [ 65, 63 ], [ 65, 66 ], [ 68, 69 ] ]
[ "h, w = map(int, input().split())\na = [list(input()) for i in range(h)]\ncnt = 0\nfor i in range(h):\n cnt += a[i].count(\"#\")\nprint(\"Possible\" if cnt == h + w - 1 else \"Impossible\")", "h, w = map(int, input().split())", "h", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "w", "list(input()) for i in range(h)", "for i in range(h)", "i", "range(h)", "range", "h", "for i in range(h)", "list(input())", "list", "input()", "input", "a = [list(input()) for i in range(h)]", "a", "[list(input()) for i in range(h)]", "cnt = 0", "cnt", "0", "for i in range(h):\n cnt += a[i].count(\"#\")", "i", "range(h)", "range", "h", "cnt += a[i].count(\"#\")", "cnt", "a[i].count(\"#\")", "[i].count", "[i]", "a", "i", "count", "\"#\"", "print(\"Possible\" if cnt == h + w - 1 else \"Impossible\")", "print", "\"Possible\" if cnt == h + w - 1 else \"Impossible\"", "cnt == h + w - 1", "cnt", "h + w - 1", "h + w", "h", "w", "1", "\"Possible\"", "\"Impossible\"", "cnt = 0", "0", "cnt", "cnt += a[i].count(\"#\")", "a[i].count(\"#\")", "cnt", "h, w = map(int, input().split())", "map(int, input().split())", "h", "w = map(int, input().split())", "map(int, input().split())", "w", "a = [list(input()) for i in range(h)]", "[list(input()) for i in range(h)]", "a" ]
h, w = map(int, input().split()) a = [list(input()) for i in range(h)] cnt = 0 for i in range(h): cnt += a[i].count("#") print("Possible" if cnt == h + w - 1 else "Impossible")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 4, 18, 4, 13, 13, 17, 4, 13, 8, 2, 13, 2, 2, 13, 13, 17, 17, 17, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 47, 2 ], [ 47, 11 ], [ 41, 13 ], [ 17, 16 ], [ 45, 19 ], [ 50, 21 ], [ 51, 32 ], [ 42, 32 ], [ 45, 35 ], [ 48, 36 ], [ 41, 42 ], [ 47, 45 ], [ 47, 48 ], [ 50, 51 ] ]
[ "h,w = map(int,input().split())\nans = 0\nfor i in range(h):\n ans += input().count(\"#\")\nprint(\"Possible\" if ans == h+w-1 else \"Impossible\")", "h,w = map(int,input().split())", "h", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "w", "ans = 0", "ans", "0", "for i in range(h):\n ans += input().count(\"#\")", "i", "range(h)", "range", "h", "ans += input().count(\"#\")", "ans", "input().count(\"#\")", "().count", "()", "input", "count", "\"#\"", "print(\"Possible\" if ans == h+w-1 else \"Impossible\")", "print", "\"Possible\" if ans == h+w-1 else \"Impossible\"", "ans == h+w-1", "ans", "h+w-1", "h+w", "h", "w", "1", "\"Possible\"", "\"Impossible\"", "ans = 0", "0", "ans", "h,w = map(int,input().split())", "map(int,input().split())", "h", "w = map(int,input().split())", "map(int,input().split())", "w", "ans += input().count(\"#\")", "input().count(\"#\")", "ans" ]
h,w = map(int,input().split()) ans = 0 for i in range(h): ans += input().count("#") print("Possible" if ans == h+w-1 else "Impossible")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 13, 0, 13, 13, 0, 13, 17, 28, 13, 13, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 2, 2, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 13, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 66, 2 ], [ 66, 11 ], [ 15, 14 ], [ 58, 17 ], [ 63, 24 ], [ 60, 27 ], [ 31, 30 ], [ 64, 30 ], [ 34, 33 ], [ 30, 33 ], [ 33, 37 ], [ 69, 40 ], [ 70, 44 ], [ 61, 44 ], [ 58, 47 ], [ 67, 48 ], [ 66, 58 ], [ 60, 61 ], [ 63, 64 ], [ 66, 67 ], [ 69, 70 ] ]
[ "h, w = map(int,input().split())\na = [list(input()) for _ in range(h)]\nc = 0\nfor p in a :\n for q in p:\n if q==\"#\":\n c +=1\n \nif c == h + w - 1:\n print(\"Possible\")\nelse:\n print(\"Impossible\")", "h, w = map(int,input().split())", "h", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "w", "list(input()) for _ in range(h)", "for _ in range(h)", "_", "range(h)", "range", "h", "for _ in range(h)", "list(input())", "list", "input()", "input", "a = [list(input()) for _ in range(h)]", "a", "[list(input()) for _ in range(h)]", "c = 0", "c", "0", "for p in a :\n for q in p:\n if q==\"#\":\n c +=1\n ", "p", "a", "for q in p:\n if q==\"#\":\n c +=1\n ", "q", "p", "if q==\"#\":\n c +=1\n ", "q==\"#\"", "q", "\"#\"", "c +=1", "c", "1", "if c == h + w - 1:\n print(\"Possible\")\nelse:\n print(\"Impossible\")", "c == h + w - 1", "c", "h + w - 1", "h + w", "h", "w", "1", "print(\"Possible\")", "print", "\"Possible\"", "print(\"Impossible\")", "print", "\"Impossible\"", "h, w = map(int,input().split())", "map(int,input().split())", "h", "c = 0", "0", "c", "a = [list(input()) for _ in range(h)]", "[list(input()) for _ in range(h)]", "a", "w = map(int,input().split())", "map(int,input().split())", "w", "c +=1", "1", "c" ]
h, w = map(int,input().split()) a = [list(input()) for _ in range(h)] c = 0 for p in a : for q in p: if q=="#": c +=1 if c == h + w - 1: print("Possible") else: print("Impossible")
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 4, 18, 13, 13, 2, 39, 17, 2, 13, 17, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 2, 2, 17, 4, 13, 17, 4, 18, 13, 13, 2, 39, 17, 2, 13, 17, 28, 13, 4, 13, 17, 2, 13, 17, 28, 13, 4, 13, 17, 2, 13, 17, 0, 13, 18, 18, 13, 13, 2, 13, 17, 0, 13, 18, 18, 13, 2, 13, 17, 13, 14, 2, 2, 13, 17, 2, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 18, 13, 10, 4, 13, 10, 4, 13, 10, 18, 13, 10, 39, 13 ]
[ [ 111, 2 ], [ 111, 13 ], [ 117, 15 ], [ 118, 19 ], [ 109, 25 ], [ 29, 28 ], [ 112, 31 ], [ 118, 34 ], [ 118, 46 ], [ 109, 52 ], [ 56, 55 ], [ 112, 60 ], [ 64, 63 ], [ 109, 68 ], [ 114, 71 ], [ 118, 74 ], [ 55, 75 ], [ 63, 77 ], [ 105, 80 ], [ 118, 83 ], [ 55, 85 ], [ 63, 87 ], [ 115, 91 ], [ 106, 94 ], [ 105, 106 ], [ 111, 109 ], [ 111, 112 ], [ 114, 115 ], [ 117, 118 ] ]
[ "h,w = list(map(int, input().split()))\n\nboard = []\nboard.append(['.'] * (w+2))\nfor i in range(h):\n board.append(list('.' + input() + '.'))\nboard.append(['.'] * (w+2))\n\nfor i in range(1,h+1):\n for j in range(1,w+1):\n left = board[i][j-1]\n upper = board[i-1][j]\n if left == '#' and upper == '#':\n print('Impossible')\n exit()\nprint('Possible')", "h,w = list(map(int, input().split()))", "h", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "w", "board = []", "board", "[]", "board.append(['.'] * (w+2))", "board.append", "board", "append", "['.'] * (w+2)", "['.']", "'.'", "w+2", "w", "2", "for i in range(h):\n board.append(list('.' + input() + '.'))", "i", "range(h)", "range", "h", "board.append(list('.' + input() + '.'))", "board.append", "board", "append", "list('.' + input() + '.')", "list", "'.' + input() + '.'", "'.' + input()", "'.'", "input()", "input", "'.'", "board.append(['.'] * (w+2))", "board.append", "board", "append", "['.'] * (w+2)", "['.']", "'.'", "w+2", "w", "2", "for i in range(1,h+1):\n for j in range(1,w+1):\n left = board[i][j-1]\n upper = board[i-1][j]\n if left == '#' and upper == '#':\n print('Impossible')\n exit()", "i", "range(1,h+1)", "range", "1", "h+1", "h", "1", "for j in range(1,w+1):\n left = board[i][j-1]\n upper = board[i-1][j]\n if left == '#' and upper == '#':\n print('Impossible')\n exit()", "j", "range(1,w+1)", "range", "1", "w+1", "w", "1", "left = board[i][j-1]", "left", "board[i][j-1]", "[i]", "board", "i", "j-1", "j", "1", "upper = board[i-1][j]", "upper", "board[i-1][j]", "[i-1]", "board", "i-1", "i", "1", "j", "if left == '#' and upper == '#':\n print('Impossible')\n exit()", "left == '#' and upper == '#'", "left == '#'", "left", "'#'", "upper == '#'", "upper", "'#'", "print('Impossible')", "print", "'Impossible'", "exit()", "exit", "print('Possible')", "print", "'Possible'", "upper = board[i-1][j]", "board[i-1][j]", "upper", "w = list(map(int, input().split()))", "list(map(int, input().split()))", "w", "h,w = list(map(int, input().split()))", "list(map(int, input().split()))", "h", "left = board[i][j-1]", "board[i][j-1]", "left", "board = []", "[]", "board" ]
h,w = list(map(int, input().split())) board = [] board.append(['.'] * (w+2)) for i in range(h): board.append(list('.' + input() + '.')) board.append(['.'] * (w+2)) for i in range(1,h+1): for j in range(1,w+1): left = board[i][j-1] upper = board[i-1][j] if left == '#' and upper == '#': print('Impossible') exit() print('Possible')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 4, 13, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 2, 2, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 61, 2 ], [ 61, 11 ], [ 49, 13 ], [ 17, 16 ], [ 62, 19 ], [ 52, 21 ], [ 26, 25 ], [ 53, 25 ], [ 25, 29 ], [ 58, 32 ], [ 59, 36 ], [ 50, 36 ], [ 62, 39 ], [ 56, 40 ], [ 49, 50 ], [ 52, 53 ], [ 61, 56 ], [ 58, 59 ], [ 61, 62 ] ]
[ "h, w = map(int, input().split())\nn = 0\nfor y in range(h):\n s = input()\n for c in s:\n if c == '#':\n n += 1\nif n == h + w - 1:\n print('Possible')\nelse:\n print('Impossible')", "h, w = map(int, input().split())", "h", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "w", "n = 0", "n", "0", "for y in range(h):\n s = input()\n for c in s:\n if c == '#':\n n += 1", "y", "range(h)", "range", "h", "s = input()", "s", "input()", "input", "for c in s:\n if c == '#':\n n += 1", "c", "s", "if c == '#':\n n += 1", "c == '#'", "c", "'#'", "n += 1", "n", "1", "if n == h + w - 1:\n print('Possible')\nelse:\n print('Impossible')", "n == h + w - 1", "n", "h + w - 1", "h + w", "h", "w", "1", "print('Possible')", "print", "'Possible'", "print('Impossible')", "print", "'Impossible'", "n = 0", "0", "n", "s = input()", "input()", "s", "w = map(int, input().split())", "map(int, input().split())", "w", "n += 1", "1", "n", "h, w = map(int, input().split())", "map(int, input().split())", "h" ]
h, w = map(int, input().split()) n = 0 for y in range(h): s = input() for c in s: if c == '#': n += 1 if n == h + w - 1: print('Possible') else: print('Impossible')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 14, 2, 13, 2, 2, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 52, 2 ], [ 52, 11 ], [ 49, 13 ], [ 17, 16 ], [ 53, 19 ], [ 55, 21 ], [ 58, 25 ], [ 56, 28 ], [ 50, 28 ], [ 59, 33 ], [ 53, 36 ], [ 47, 37 ], [ 52, 47 ], [ 49, 50 ], [ 52, 53 ], [ 55, 56 ], [ 58, 59 ] ]
[ "H, W = map(int, input().split())\nA = \"\"\nfor i in range(H):\n A += input()\n# print(A)\nsharp = A.count(\"#\")\nif sharp == H + W - 1:\n print(\"Possible\")\nelse:\n print(\"Impossible\")\n", "H, W = map(int, input().split())", "H", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "W", "A = \"\"", "A", "\"\"", "for i in range(H):\n A += input()\n# print(A)", "i", "range(H)", "range", "H", "A += input()", "A", "input()", "input", "sharp = A.count(\"#\")", "sharp", "A.count(\"#\")", "A.count", "A", "count", "\"#\"", "if sharp == H + W - 1:\n print(\"Possible\")\nelse:\n print(\"Impossible\")", "sharp == H + W - 1", "sharp", "H + W - 1", "H + W", "H", "W", "1", "print(\"Possible\")", "print", "\"Possible\"", "print(\"Impossible\")", "print", "\"Impossible\"", "W = map(int, input().split())", "map(int, input().split())", "W", "A = \"\"", "\"\"", "A", "H, W = map(int, input().split())", "map(int, input().split())", "H", "A += input()", "input()", "A", "sharp = A.count(\"#\")", "A.count(\"#\")", "sharp" ]
H, W = map(int, input().split()) A = "" for i in range(H): A += input() # print(A) sharp = A.count("#") if sharp == H + W - 1: print("Possible") else: print("Impossible")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 13, 0, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 28, 13, 4, 13, 13, 14, 2, 18, 18, 13, 13, 13, 17, 0, 13, 17, 14, 2, 13, 2, 2, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 13, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 77, 2 ], [ 77, 11 ], [ 15, 14 ], [ 78, 17 ], [ 71, 24 ], [ 74, 27 ], [ 31, 30 ], [ 78, 33 ], [ 36, 35 ], [ 69, 38 ], [ 72, 43 ], [ 30, 44 ], [ 35, 45 ], [ 65, 48 ], [ 66, 52 ], [ 75, 52 ], [ 78, 55 ], [ 69, 56 ], [ 65, 66 ], [ 77, 69 ], [ 71, 72 ], [ 74, 75 ], [ 77, 78 ] ]
[ "H, W = map(int, input().split())\nban = [list(input()) for _ in range(H)]\ncnt = 0\nfor i in range(H):\n for j in range(W):\n if ban[i][j] == \"#\":\n cnt += 1\nif cnt == H + W - 1:\n print(\"Possible\")\nelse:\n print(\"Impossible\")", "H, W = map(int, input().split())", "H", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "W", "list(input()) for _ in range(H)", "for _ in range(H)", "_", "range(H)", "range", "H", "for _ in range(H)", "list(input())", "list", "input()", "input", "ban = [list(input()) for _ in range(H)]", "ban", "[list(input()) for _ in range(H)]", "cnt = 0", "cnt", "0", "for i in range(H):\n for j in range(W):\n if ban[i][j] == \"#\":\n cnt += 1", "i", "range(H)", "range", "H", "for j in range(W):\n if ban[i][j] == \"#\":\n cnt += 1", "j", "range(W)", "range", "W", "if ban[i][j] == \"#\":\n cnt += 1", "ban[i][j] == \"#\"", "ban[i][j]", "[i]", "ban", "i", "j", "\"#\"", "cnt += 1", "cnt", "1", "if cnt == H + W - 1:\n print(\"Possible\")\nelse:\n print(\"Impossible\")", "cnt == H + W - 1", "cnt", "H + W - 1", "H + W", "H", "W", "1", "print(\"Possible\")", "print", "\"Possible\"", "print(\"Impossible\")", "print", "\"Impossible\"", "cnt += 1", "1", "cnt", "W = map(int, input().split())", "map(int, input().split())", "W", "ban = [list(input()) for _ in range(H)]", "[list(input()) for _ in range(H)]", "ban", "cnt = 0", "0", "cnt", "H, W = map(int, input().split())", "map(int, input().split())", "H" ]
H, W = map(int, input().split()) ban = [list(input()) for _ in range(H)] cnt = 0 for i in range(H): for j in range(W): if ban[i][j] == "#": cnt += 1 if cnt == H + W - 1: print("Possible") else: print("Impossible")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 13, 0, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 28, 13, 4, 13, 13, 14, 2, 18, 18, 13, 13, 13, 17, 0, 13, 17, 14, 2, 13, 2, 2, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 13, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 77, 2 ], [ 77, 11 ], [ 15, 14 ], [ 75, 17 ], [ 68, 24 ], [ 71, 27 ], [ 31, 30 ], [ 75, 33 ], [ 36, 35 ], [ 78, 38 ], [ 69, 43 ], [ 30, 44 ], [ 35, 45 ], [ 65, 48 ], [ 66, 52 ], [ 72, 52 ], [ 75, 55 ], [ 78, 56 ], [ 65, 66 ], [ 68, 69 ], [ 71, 72 ], [ 77, 75 ], [ 77, 78 ] ]
[ "h,w = map(int,input().split())\na = [list(input()) for nesya in range(h)]\nc = 0\nfor i in range(h):\n for j in range(w):\n if a[i][j] == '#':\n c += 1\n\nif c == h+w-1:\n print('Possible')\nelse:\n print('Impossible')", "h,w = map(int,input().split())", "h", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "w", "list(input()) for nesya in range(h)", "for nesya in range(h)", "nesya", "range(h)", "range", "h", "for nesya in range(h)", "list(input())", "list", "input()", "input", "a = [list(input()) for nesya in range(h)]", "a", "[list(input()) for nesya in range(h)]", "c = 0", "c", "0", "for i in range(h):\n for j in range(w):\n if a[i][j] == '#':\n c += 1", "i", "range(h)", "range", "h", "for j in range(w):\n if a[i][j] == '#':\n c += 1", "j", "range(w)", "range", "w", "if a[i][j] == '#':\n c += 1", "a[i][j] == '#'", "a[i][j]", "[i]", "a", "i", "j", "'#'", "c += 1", "c", "1", "if c == h+w-1:\n print('Possible')\nelse:\n print('Impossible')", "c == h+w-1", "c", "h+w-1", "h+w", "h", "w", "1", "print('Possible')", "print", "'Possible'", "print('Impossible')", "print", "'Impossible'", "c += 1", "1", "c", "a = [list(input()) for nesya in range(h)]", "[list(input()) for nesya in range(h)]", "a", "c = 0", "0", "c", "h,w = map(int,input().split())", "map(int,input().split())", "h", "w = map(int,input().split())", "map(int,input().split())", "w" ]
h,w = map(int,input().split()) a = [list(input()) for nesya in range(h)] c = 0 for i in range(h): for j in range(w): if a[i][j] == '#': c += 1 if c == h+w-1: print('Possible') else: print('Impossible')
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 2, 2, 17, 17, 17, 0, 13, 4, 13, 17, 4, 18, 13, 13, 2, 17, 17, 12, 13, 15, 15, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 4, 18, 13, 13, 13, 14, 40, 13, 2, 2, 13, 13, 17, 29, 4, 13, 17, 28, 13, 4, 13, 4, 13, 2, 2, 13, 13, 17, 2, 13, 17, 0, 13, 17, 13, 17, 28, 13, 4, 13, 2, 2, 13, 13, 17, 14, 2, 13, 13, 0, 13, 17, 0, 13, 17, 14, 2, 18, 18, 13, 13, 13, 17, 3, 14, 2, 39, 13, 13, 39, 2, 13, 17, 2, 13, 17, 29, 4, 13, 17, 29, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 18, 13, 10, 12, 13, 10, 2, 13, 10, 4, 13 ]
[ [ 158, 4 ], [ 164, 11 ], [ 167, 18 ], [ 35, 34 ], [ 159, 41 ], [ 35, 43 ], [ 46, 45 ], [ 50, 49 ], [ 53, 52 ], [ 34, 55 ], [ 58, 57 ], [ 62, 61 ], [ 57, 64 ], [ 45, 69 ], [ 57, 71 ], [ 61, 74 ], [ 49, 74 ], [ 34, 77 ], [ 43, 78 ], [ 86, 85 ], [ 34, 92 ], [ 43, 93 ], [ 34, 96 ], [ 100, 99 ], [ 102, 101 ], [ 105, 104 ], [ 34, 109 ], [ 43, 110 ], [ 104, 114 ], [ 85, 115 ], [ 118, 117 ], [ 121, 120 ], [ 45, 126 ], [ 117, 127 ], [ 99, 127 ], [ 120, 128 ], [ 101, 128 ], [ 34, 138 ], [ 43, 141 ], [ 162, 156 ], [ 158, 159 ], [ 164, 165 ], [ 167, 168 ] ]
[ "import sys\n\nreadline = sys.stdin.readline\nMOD = 10 ** 9 + 7\nINF = float('INF')\nsys.setrecursionlimit(10 ** 5)\n\n\ndef main():\n from collections import deque\n from itertools import combinations\n\n h, w = map(int, readline().split())\n a = list()\n cnt = 0\n for i in range(h):\n s = input()\n cnt += s.count(\"#\")\n a.append(s)\n\n if cnt != (h + w - 1):\n return print(\"Impossible\")\n\n for per in combinations(range(h + w - 2), h - 1):\n cr, cc = 0, 0\n for i in range(h + w - 2):\n if i in per:\n cr += 1\n else:\n cc += 1\n if a[cr][cc] == \".\":\n break\n if (cr, cc) == (h - 1, w - 1):\n return print(\"Possible\")\n return print(\"Impossible\")\n\n\nif __name__ == '__main__':\n main()", "import sys", "sys", "readline = sys.stdin.readline", "readline", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "MOD = 10 ** 9 + 7", "MOD", "10 ** 9 + 7", "10 ** 9", "10", "9", "7", "INF = float('INF')", "INF", "float('INF')", "float", "'INF'", "sys.setrecursionlimit(10 ** 5)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10 ** 5", "10", "5", "def main():\n from collections import deque\n from itertools import combinations\n\n h, w = map(int, readline().split())\n a = list()\n cnt = 0\n for i in range(h):\n s = input()\n cnt += s.count(\"#\")\n a.append(s)\n\n if cnt != (h + w - 1):\n return print(\"Impossible\")\n\n for per in combinations(range(h + w - 2), h - 1):\n cr, cc = 0, 0\n for i in range(h + w - 2):\n if i in per:\n cr += 1\n else:\n cc += 1\n if a[cr][cc] == \".\":\n break\n if (cr, cc) == (h - 1, w - 1):\n return print(\"Possible\")\n return print(\"Impossible\")", "main", "from collections import deque", "from itertools import combinations", "h, w = map(int, readline().split())", "h", "map(int, readline().split())", "map", "int", "readline().split()", "().split", "()", "readline", "split", "w", "a = list()", "a", "list()", "list", "cnt = 0", "cnt", "0", "for i in range(h):\n s = input()\n cnt += s.count(\"#\")\n a.append(s)\n\n ", "i", "range(h)", "range", "h", "s = input()", "s", "input()", "input", "cnt += s.count(\"#\")", "cnt", "s.count(\"#\")", "s.count", "s", "count", "\"#\"", "a.append(s)", "a.append", "a", "append", "s", "if cnt != (h + w - 1):\n return print(\"Impossible\")\n\n ", "cnt != (h + w - 1)", "cnt", "h + w - 1", "h + w", "h", "w", "1", "return print(\"Impossible\")", "print(\"Impossible\")", "print", "\"Impossible\"", "for per in combinations(range(h + w - 2), h - 1):\n cr, cc = 0, 0\n for i in range(h + w - 2):\n if i in per:\n cr += 1\n else:\n cc += 1\n if a[cr][cc] == \".\":\n break\n if (cr, cc) == (h - 1, w - 1):\n return print(\"Possible\")\n ", "per", "combinations(range(h + w - 2), h - 1)", "combinations", "range(h + w - 2)", "range", "h + w - 2", "h + w", "h", "w", "2", "h - 1", "h", "1", "cr, cc = 0, 0", "cr", "0", "cc", "0", "for i in range(h + w - 2):\n if i in per:\n cr += 1\n else:\n cc += 1\n if a[cr][cc] == \".\":\n break\n if (cr, cc) == (h - 1, w - 1):\n return print(\"Possible\")\n ", "i", "range(h + w - 2)", "range", "h + w - 2", "h + w", "h", "w", "2", "if i in per:\n cr += 1\n else:\n cc += 1\n ", "i in per", "i", "per", "cr += 1", "cr", "1", "cc += 1", "cc", "1", "if a[cr][cc] == \".\":\n break\n ", "a[cr][cc] == \".\"", "a[cr][cc]", "[cr]", "a", "cr", "cc", "\".\"", "break", "if (cr, cc) == (h - 1, w - 1):\n return print(\"Possible\")\n ", "(cr, cc) == (h - 1, w - 1)", "(cr, cc)", "cr", "cc", "(h - 1, w - 1)", "h - 1", "h", "1", "w - 1", "w", "1", "return print(\"Possible\")", "print(\"Possible\")", "print", "\"Possible\"", "return print(\"Impossible\")", "print(\"Impossible\")", "print", "\"Impossible\"", "if __name__ == '__main__':\n main()", "__name__ == '__main__'", "__name__", "'__main__'", "main()", "main", "readline = sys.stdin.readline", "sys.stdin.readline", "readline", "def main():\n from collections import deque\n from itertools import combinations\n\n h, w = map(int, readline().split())\n a = list()\n cnt = 0\n for i in range(h):\n s = input()\n cnt += s.count(\"#\")\n a.append(s)\n\n if cnt != (h + w - 1):\n return print(\"Impossible\")\n\n for per in combinations(range(h + w - 2), h - 1):\n cr, cc = 0, 0\n for i in range(h + w - 2):\n if i in per:\n cr += 1\n else:\n cc += 1\n if a[cr][cc] == \".\":\n break\n if (cr, cc) == (h - 1, w - 1):\n return print(\"Possible\")\n return print(\"Impossible\")", "def main():\n from collections import deque\n from itertools import combinations\n\n h, w = map(int, readline().split())\n a = list()\n cnt = 0\n for i in range(h):\n s = input()\n cnt += s.count(\"#\")\n a.append(s)\n\n if cnt != (h + w - 1):\n return print(\"Impossible\")\n\n for per in combinations(range(h + w - 2), h - 1):\n cr, cc = 0, 0\n for i in range(h + w - 2):\n if i in per:\n cr += 1\n else:\n cc += 1\n if a[cr][cc] == \".\":\n break\n if (cr, cc) == (h - 1, w - 1):\n return print(\"Possible\")\n return print(\"Impossible\")", "main", "MOD = 10 ** 9 + 7", "10 ** 9 + 7", "MOD", "INF = float('INF')", "float('INF')", "INF" ]
import sys readline = sys.stdin.readline MOD = 10 ** 9 + 7 INF = float('INF') sys.setrecursionlimit(10 ** 5) def main(): from collections import deque from itertools import combinations h, w = map(int, readline().split()) a = list() cnt = 0 for i in range(h): s = input() cnt += s.count("#") a.append(s) if cnt != (h + w - 1): return print("Impossible") for per in combinations(range(h + w - 2), h - 1): cr, cc = 0, 0 for i in range(h + w - 2): if i in per: cr += 1 else: cc += 1 if a[cr][cc] == ".": break if (cr, cc) == (h - 1, w - 1): return print("Possible") return print("Impossible") if __name__ == '__main__': main()
[ 7, 15, 13, 13, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 12, 13, 12, 13, 12, 13, 12, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 12, 13, 23, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 4, 13, 17, 0, 13, 2, 2, 17, 17, 17, 15, 0, 13, 4, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 41, 28, 13, 13, 4, 4, 18, 13, 13, 17, 0, 13, 4, 13, 13, 14, 2, 13, 2, 2, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 4, 13, 10, 4, 13, 10, 12, 13, 10, 4, 13, 10, 13, 13, 10, 12, 13, 10, 2, 13 ]
[ [ 26, 25 ], [ 131, 31 ], [ 35, 35 ], [ 115, 44 ], [ 133, 49 ], [ 124, 57 ], [ 131, 59 ], [ 124, 60 ], [ 64, 63 ], [ 125, 66 ], [ 107, 69 ], [ 127, 71 ], [ 76, 75 ], [ 128, 75 ], [ 75, 80 ], [ 103, 84 ], [ 104, 90 ], [ 125, 93 ], [ 119, 94 ], [ 103, 104 ], [ 115, 116 ], [ 124, 119 ], [ 124, 125 ], [ 127, 128 ], [ 133, 134 ] ]
[ "import sys, re\nfrom collections import deque, defaultdict, Counter\nfrom math import ceil, sqrt, hypot, factorial, pi, sin, cos, tan, asin, acos, atan, radians, degrees#, log2, log\nfrom itertools import accumulate, permutations, combinations, combinations_with_replacement, product, groupby\nfrom operator import itemgetter, mul\nfrom copy import deepcopy\nfrom string import ascii_lowercase, ascii_uppercase, digits\nfrom bisect import bisect, bisect_left, insort, insort_left\nfrom fractions import gcd\nfrom heapq import heappush, heappop\nfrom functools import reduce\nfrom decimal import Decimal\ndef input(): return sys.stdin.readline().strip()\ndef INT(): return int(input())\ndef MAP(): return map(int, input().split())\ndef LIST(): return list(map(int, input().split()))\ndef ZIP(n): return zip(*(MAP() for _ in range(n)))\nsys.setrecursionlimit(10 ** 9)\nINF = float('inf')\nmod = 10**9 + 7\nfrom decimal import *\n\nH, W = MAP()\nA = [input() for _ in range(H)]\n\ncnt_w = sum([X.count(\"#\") for X in A])\n\nif cnt_w == H+W-1:\n\tprint(\"Possible\")\nelse:\n\tprint(\"Impossible\")", "import sys, re", "sys", "re", "from collections import deque, defaultdict, Counter", "from math import ceil, sqrt, hypot, factorial, pi, sin, cos, tan, asin, acos, atan, radians, degrees", "from itertools import accumulate, permutations, combinations, combinations_with_replacement, product, groupby", "from operator import itemgetter, mul", "from copy import deepcopy", "from string import ascii_lowercase, ascii_uppercase, digits", "from bisect import bisect, bisect_left, insort, insort_left", "from fractions import gcd", "from heapq import heappush, heappop", "from functools import reduce", "from decimal import Decimal", "def input(): return sys.stdin.readline().strip()", "input", "def INT(): return int(input())", "INT", "def MAP(): return map(int, input().split())", "MAP", "def LIST(): return list(map(int, input().split()))", "LIST", "MAP() for _ in range(n)", "for _ in range(n)", "_", "range(n)", "range", "n", "for _ in range(n)", "MAP()", "MAP", "def ZIP(n): return zip(*(MAP() for _ in range(n)))", "ZIP", "n", "n", "sys.setrecursionlimit(10 ** 9)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10 ** 9", "10", "9", "INF = float('inf')", "INF", "float('inf')", "float", "'inf'", "mod = 10**9 + 7", "mod", "10**9 + 7", "10**9", "10", "9", "7", "from decimal import *", "H, W = MAP()", "H", "MAP()", "MAP", "W", "input() for _ in range(H)", "for _ in range(H)", "_", "range(H)", "range", "H", "for _ in range(H)", "input()", "input", "A = [input() for _ in range(H)]", "A", "[input() for _ in range(H)]", "X.count(\"#\") for X in A", "for X in A", "X", "A", "for X in A", "X.count(\"#\")", "X.count", "X", "count", "\"#\"", "cnt_w = sum([X.count(\"#\") for X in A])", "cnt_w", "sum([X.count(\"#\") for X in A])", "sum", "[X.count(\"#\") for X in A]", "if cnt_w == H+W-1:\n\tprint(\"Possible\")\nelse:\n\tprint(\"Impossible\")", "cnt_w == H+W-1", "cnt_w", "H+W-1", "H+W", "H", "W", "1", "print(\"Possible\")", "print", "\"Possible\"", "print(\"Impossible\")", "print", "\"Impossible\"", "cnt_w = sum([X.count(\"#\") for X in A])", "sum([X.count(\"#\") for X in A])", "cnt_w", "def input(): return sys.stdin.readline().strip()", "def input(): return sys.stdin.readline().strip()", "input", "def INT(): return int(input())", "def INT(): return int(input())", "INT", "def ZIP(n): return zip(*(MAP() for _ in range(n)))", "def ZIP(n): return zip(*(MAP() for _ in range(n)))", "ZIP", "INF = float('inf')", "float('inf')", "INF", "W = MAP()", "MAP()", "W", "def LIST(): return list(map(int, input().split()))", "def LIST(): return list(map(int, input().split()))", "LIST", "H, W = MAP()", "MAP()", "H", "A = [input() for _ in range(H)]", "[input() for _ in range(H)]", "A", "def MAP(): return map(int, input().split())", "def MAP(): return map(int, input().split())", "MAP", "mod = 10**9 + 7", "10**9 + 7", "mod" ]
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, tan, asin, acos, atan, radians, degrees#, log2, log from itertools import accumulate, permutations, combinations, combinations_with_replacement, product, groupby from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii_uppercase, digits from bisect import bisect, bisect_left, insort, insort_left from fractions import gcd from heapq import heappush, heappop from functools import reduce from decimal import Decimal def input(): return sys.stdin.readline().strip() def INT(): return int(input()) def MAP(): return map(int, input().split()) def LIST(): return list(map(int, input().split())) def ZIP(n): return zip(*(MAP() for _ in range(n))) sys.setrecursionlimit(10 ** 9) INF = float('inf') mod = 10**9 + 7 from decimal import * H, W = MAP() A = [input() for _ in range(H)] cnt_w = sum([X.count("#") for X in A]) if cnt_w == H+W-1: print("Possible") else: print("Impossible")
[ 7, 12, 13, 15, 13, 0, 13, 18, 18, 13, 13, 13, 4, 18, 13, 13, 2, 17, 17, 15, 15, 15, 15, 15, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 18, 4, 13, 13, 0, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 28, 13, 4, 13, 13, 14, 2, 18, 18, 13, 13, 13, 17, 14, 40, 13, 13, 4, 13, 17, 4, 13, 0, 13, 17, 0, 13, 17, 14, 2, 13, 2, 13, 17, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 7, 6 ], [ 27, 26 ], [ 6, 33 ], [ 27, 35 ], [ 39, 38 ], [ 26, 41 ], [ 6, 48 ], [ 52, 51 ], [ 55, 54 ], [ 58, 57 ], [ 26, 60 ], [ 63, 62 ], [ 35, 65 ], [ 51, 70 ], [ 57, 71 ], [ 62, 72 ], [ 54, 76 ], [ 84, 76 ], [ 87, 76 ], [ 62, 77 ], [ 85, 84 ], [ 88, 87 ], [ 87, 91 ], [ 84, 91 ], [ 54, 91 ], [ 35, 93 ], [ 109, 106 ] ]
[ "def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappush\n import math\n #from math import gcd\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n h,w = map(int, input().split())\n a = [list(input().rstrip()) for _ in range(h)]\n \n s = 0\n for i in range(h):\n for j in range(w):\n if a[i][j] == '#':\n if s != j:\n print('Impossible')\n exit()\n s += 1\n s -= 1\n\n if s == w-1:\n print('Possible')\n else:\n print('Impossible')\n\nif __name__ == '__main__':\n main()", "def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappush\n import math\n #from math import gcd\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n h,w = map(int, input().split())\n a = [list(input().rstrip()) for _ in range(h)]\n \n s = 0\n for i in range(h):\n for j in range(w):\n if a[i][j] == '#':\n if s != j:\n print('Impossible')\n exit()\n s += 1\n s -= 1\n\n if s == w-1:\n print('Possible')\n else:\n print('Impossible')", "main", "import sys", "sys", "input = sys.stdin.readline", "input", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "sys.setrecursionlimit(10**7)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10**7", "10", "7", "from collections import Counter, deque", "from itertools import combinations, permutations, accumulate, groupby, product", "from bisect import bisect_left,bisect_right", "from heapq import heapify, heappop, heappush", "import math", "math", "h,w = map(int, input().split())", "h", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "w", "list(input().rstrip()) for _ in range(h)", "for _ in range(h)", "_", "range(h)", "range", "h", "for _ in range(h)", "list(input().rstrip())", "list", "input().rstrip()", "().rstrip", "()", "input", "rstrip", "a = [list(input().rstrip()) for _ in range(h)]", "a", "[list(input().rstrip()) for _ in range(h)]", "s = 0", "s", "0", "for i in range(h):\n for j in range(w):\n if a[i][j] == '#':\n if s != j:\n print('Impossible')\n exit()\n s += 1\n s -= 1\n\n ", "i", "range(h)", "range", "h", "for j in range(w):\n if a[i][j] == '#':\n if s != j:\n print('Impossible')\n exit()\n s += 1\n ", "j", "range(w)", "range", "w", "if a[i][j] == '#':\n if s != j:\n print('Impossible')\n exit()\n s += 1\n ", "a[i][j] == '#'", "a[i][j]", "[i]", "a", "i", "j", "'#'", "if s != j:\n print('Impossible')\n exit()\n ", "s != j", "s", "j", "print('Impossible')", "print", "'Impossible'", "exit()", "exit", "s += 1", "s", "1", "s -= 1", "s", "1", "if s == w-1:\n print('Possible')\n else:\n print('Impossible')", "s == w-1", "s", "w-1", "w", "1", "print('Possible')", "print", "'Possible'", "print('Impossible')", "print", "'Impossible'", "if __name__ == '__main__':\n main()", "__name__ == '__main__'", "__name__", "'__main__'", "main()", "main", "def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappush\n import math\n #from math import gcd\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n h,w = map(int, input().split())\n a = [list(input().rstrip()) for _ in range(h)]\n \n s = 0\n for i in range(h):\n for j in range(w):\n if a[i][j] == '#':\n if s != j:\n print('Impossible')\n exit()\n s += 1\n s -= 1\n\n if s == w-1:\n print('Possible')\n else:\n print('Impossible')", "def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappush\n import math\n #from math import gcd\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n h,w = map(int, input().split())\n a = [list(input().rstrip()) for _ in range(h)]\n \n s = 0\n for i in range(h):\n for j in range(w):\n if a[i][j] == '#':\n if s != j:\n print('Impossible')\n exit()\n s += 1\n s -= 1\n\n if s == w-1:\n print('Possible')\n else:\n print('Impossible')", "main" ]
def main(): import sys input = sys.stdin.readline sys.setrecursionlimit(10**7) from collections import Counter, deque from itertools import combinations, permutations, accumulate, groupby, product from bisect import bisect_left,bisect_right from heapq import heapify, heappop, heappush import math #from math import gcd #inf = 10**17 #mod = 10**9 + 7 h,w = map(int, input().split()) a = [list(input().rstrip()) for _ in range(h)] s = 0 for i in range(h): for j in range(w): if a[i][j] == '#': if s != j: print('Impossible') exit() s += 1 s -= 1 if s == w-1: print('Possible') else: print('Impossible') if __name__ == '__main__': main()
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 13, 0, 13, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 14, 2, 17, 18, 13, 39, 13, 0, 13, 17, 41, 28, 13, 13, 4, 13, 13, 2, 13, 17, 4, 13, 0, 13, 4, 13, 13, 14, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 13, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 81, 2 ], [ 81, 11 ], [ 15, 14 ], [ 76, 17 ], [ 84, 21 ], [ 90, 24 ], [ 87, 27 ], [ 31, 30 ], [ 85, 30 ], [ 88, 34 ], [ 73, 34 ], [ 30, 40 ], [ 78, 44 ], [ 30, 52 ], [ 72, 59 ], [ 72, 73 ], [ 81, 76 ], [ 78, 79 ], [ 81, 82 ], [ 84, 85 ], [ 87, 88 ], [ 90, 91 ] ]
[ "H, W = map(int, input().split())\nA = [[s for s in input()] for _ in range(H)]\n\nflag = True\n\nprev = 0\nfor a in A:\n if prev > 0:\n if '#' in a[:prev]:\n flag *= False\n prev = max([n for n, v in enumerate(a) if v == '#'])\nif flag:\n print('Possible')\nelse:\n print('Impossible')", "H, W = map(int, input().split())", "H", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "W", "[s for s in input()] for _ in range(H)", "for _ in range(H)", "_", "range(H)", "range", "H", "for _ in range(H)", "[s for s in input()]", "A = [[s for s in input()] for _ in range(H)]", "A", "[[s for s in input()] for _ in range(H)]", "flag = True", "flag", "True", "prev = 0", "prev", "0", "for a in A:\n if prev > 0:\n if '#' in a[:prev]:\n flag *= False\n prev = max([n for n, v in enumerate(a) if v == '#'])", "a", "A", "if prev > 0:\n if '#' in a[:prev]:\n flag *= False\n ", "prev > 0", "prev", "0", "if '#' in a[:prev]:\n flag *= False\n ", "'#' in a[:prev]", "'#'", "a[:prev]", "a", ":prev", "prev", "flag *= False", "flag", "False", "n for n, v in enumerate(a) if v == '#'", "for n, v in enumerate(a) if v == '#'", "n", "v", "enumerate(a)", "enumerate", "a", "v == '#'", "v", "'#'", "if v == '#'", "n", "prev = max([n for n, v in enumerate(a) if v == '#'])", "prev", "max([n for n, v in enumerate(a) if v == '#'])", "max", "[n for n, v in enumerate(a) if v == '#']", "if flag:\n print('Possible')\nelse:\n print('Impossible')", "flag", "print('Possible')", "print", "'Possible'", "print('Impossible')", "print", "'Impossible'", "prev = max([n for n, v in enumerate(a) if v == '#'])", "max([n for n, v in enumerate(a) if v == '#'])", "prev", "H, W = map(int, input().split())", "map(int, input().split())", "H", "flag *= False", "False", "flag", "W = map(int, input().split())", "map(int, input().split())", "W", "A = [[s for s in input()] for _ in range(H)]", "[[s for s in input()] for _ in range(H)]", "A", "prev = 0", "0", "prev", "flag = True", "True", "flag" ]
H, W = map(int, input().split()) A = [[s for s in input()] for _ in range(H)] flag = True prev = 0 for a in A: if prev > 0: if '#' in a[:prev]: flag *= False prev = max([n for n, v in enumerate(a) if v == '#']) if flag: print('Possible') else: print('Impossible')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 4, 13, 4, 13, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 4, 18, 13, 13, 13, 14, 40, 13, 2, 2, 13, 13, 17, 4, 13, 17, 4, 13, 14, 40, 18, 18, 13, 17, 17, 17, 4, 13, 17, 4, 13, 0, 13, 39, 39, 17, 17, 12, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 0, 13, 39, 14, 2, 2, 13, 17, 13, 14, 2, 18, 18, 13, 13, 2, 13, 17, 17, 4, 18, 13, 13, 39, 2, 13, 17, 13, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 2, 13, 17, 4, 13, 17, 4, 13, 14, 2, 2, 13, 17, 13, 14, 2, 18, 18, 13, 2, 13, 17, 13, 17, 4, 18, 13, 13, 39, 13, 2, 13, 17, 14, 2, 2, 13, 2, 13, 17, 2, 2, 13, 17, 2, 13, 17, 4, 13, 17, 4, 13, 14, 2, 4, 13, 13, 17, 4, 13, 17, 4, 13, 0, 13, 13, 0, 13, 39, 23, 13, 42, 2, 4, 13, 13, 17, 4, 13, 13, 10, 17, 13, 10, 12, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 39, 13, 10, 17, 13, 10, 39, 13 ]
[ [ 227, 2 ], [ 227, 11 ], [ 230, 13 ], [ 215, 16 ], [ 20, 19 ], [ 228, 22 ], [ 221, 24 ], [ 31, 30 ], [ 222, 30 ], [ 30, 34 ], [ 233, 37 ], [ 231, 41 ], [ 222, 43 ], [ 234, 46 ], [ 216, 46 ], [ 225, 49 ], [ 228, 50 ], [ 231, 61 ], [ 236, 71 ], [ 80, 79 ], [ 204, 82 ], [ 87, 86 ], [ 79, 88 ], [ 92, 91 ], [ 79, 93 ], [ 97, 96 ], [ 86, 101 ], [ 225, 103 ], [ 231, 108 ], [ 91, 109 ], [ 86, 111 ], [ 96, 116 ], [ 86, 120 ], [ 86, 127 ], [ 225, 130 ], [ 91, 133 ], [ 228, 135 ], [ 91, 145 ], [ 228, 147 ], [ 231, 152 ], [ 91, 154 ], [ 86, 156 ], [ 96, 160 ], [ 91, 165 ], [ 86, 170 ], [ 225, 172 ], [ 91, 176 ], [ 228, 179 ], [ 96, 190 ], [ 199, 198 ], [ 96, 199 ], [ 202, 201 ], [ 204, 204 ], [ 237, 209 ], [ 219, 212 ], [ 237, 213 ], [ 215, 216 ], [ 221, 222 ], [ 227, 225 ], [ 227, 228 ], [ 230, 231 ], [ 233, 234 ], [ 236, 237 ] ]
[ "h,w = map(int,input().split())\nma = []\ncount = 0\nfor _ in range(h):\n tmp_li = list(input())\n for t in tmp_li:\n if t == '#':\n count += 1\n ma.append(tmp_li)\nif count != w+h-1:\n print('Impossible')\n exit()\nif ma[0][0]!= '#':\n print('Impossible')\n exit()\n\nli = [[0,0]]\ndef che(lis):\n lll = lis.pop(0)\n x = lll[0]\n y = lll[1]\n tmp = []\n if x+1 < w:\n #print(x+1,y,w,h,ma)\n if ma[y][x+1] == '#':\n tmp.append([x+1,y])\n if x+1 == w -1 and y == h -1:\n print('Possible')\n exit()\n if y+1 < h:\n if ma[y+1][x] == '#':\n tmp.append([x,y+1])\n if x == w -1 and y+1 == h -1:\n print('Possible')\n exit()\n if len(tmp) == 0:\n print('Impossible')\n exit()\n else:\n lis += tmp\n tmp = []\n #print(lis)\nwhile len(li)>0:\n che(li)", "h,w = map(int,input().split())", "h", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "w", "ma = []", "ma", "[]", "count = 0", "count", "0", "for _ in range(h):\n tmp_li = list(input())\n for t in tmp_li:\n if t == '#':\n count += 1\n ma.append(tmp_li)", "_", "range(h)", "range", "h", "tmp_li = list(input())", "tmp_li", "list(input())", "list", "input()", "input", "for t in tmp_li:\n if t == '#':\n count += 1\n ", "t", "tmp_li", "if t == '#':\n count += 1\n ", "t == '#'", "t", "'#'", "count += 1", "count", "1", "ma.append(tmp_li)", "ma.append", "ma", "append", "tmp_li", "if count != w+h-1:\n print('Impossible')\n exit()", "count != w+h-1", "count", "w+h-1", "w+h", "w", "h", "1", "print('Impossible')", "print", "'Impossible'", "exit()", "exit", "if ma[0][0]!= '#':\n print('Impossible')\n exit()", "ma[0][0]!= '#'", "ma[0][0]", "[0]", "ma", "0", "0", "'#'", "print('Impossible')", "print", "'Impossible'", "exit()", "exit", "li = [[0,0]]", "li", "[[0,0]]", "[0,0]", "0", "0", "def che(lis):\n lll = lis.pop(0)\n x = lll[0]\n y = lll[1]\n tmp = []\n if x+1 < w:\n #print(x+1,y,w,h,ma)\n if ma[y][x+1] == '#':\n tmp.append([x+1,y])\n if x+1 == w -1 and y == h -1:\n print('Possible')\n exit()\n if y+1 < h:\n if ma[y+1][x] == '#':\n tmp.append([x,y+1])\n if x == w -1 and y+1 == h -1:\n print('Possible')\n exit()\n if len(tmp) == 0:\n print('Impossible')\n exit()\n else:\n lis += tmp\n tmp = []\n #print(lis)", "che", "lll = lis.pop(0)", "lll", "lis.pop(0)", "lis.pop", "lis", "pop", "0", "x = lll[0]", "x", "lll[0]", "lll", "0", "y = lll[1]", "y", "lll[1]", "lll", "1", "tmp = []", "tmp", "[]", "if x+1 < w:\n #print(x+1,y,w,h,ma)\n if ma[y][x+1] == '#':\n tmp.append([x+1,y])\n if x+1 == w -1 and y == h -1:\n print('Possible')\n exit()\n ", "x+1 < w", "x+1", "x", "1", "w", "if ma[y][x+1] == '#':\n tmp.append([x+1,y])\n ", "ma[y][x+1] == '#'", "ma[y][x+1]", "[y]", "ma", "y", "x+1", "x", "1", "'#'", "tmp.append([x+1,y])", "tmp.append", "tmp", "append", "[x+1,y]", "x+1", "x", "1", "y", "if x+1 == w -1 and y == h -1:\n print('Possible')\n exit()\n ", "x+1 == w -1 and y == h -1", "x+1 == w -1", "x+1", "x", "1", "w -1", "w", "1", "y == h -1", "y", "h -1", "h", "1", "print('Possible')", "print", "'Possible'", "exit()", "exit", "if y+1 < h:\n if ma[y+1][x] == '#':\n tmp.append([x,y+1])\n if x == w -1 and y+1 == h -1:\n print('Possible')\n exit()\n ", "y+1 < h", "y+1", "y", "1", "h", "if ma[y+1][x] == '#':\n tmp.append([x,y+1])\n ", "ma[y+1][x] == '#'", "ma[y+1][x]", "[y+1]", "ma", "y+1", "y", "1", "x", "'#'", "tmp.append([x,y+1])", "tmp.append", "tmp", "append", "[x,y+1]", "x", "y+1", "y", "1", "if x == w -1 and y+1 == h -1:\n print('Possible')\n exit()\n ", "x == w -1 and y+1 == h -1", "x == w -1", "x", "w -1", "w", "1", "y+1 == h -1", "y+1", "y", "1", "h -1", "h", "1", "print('Possible')", "print", "'Possible'", "exit()", "exit", "if len(tmp) == 0:\n print('Impossible')\n exit()\n else:\n lis += tmp\n ", "len(tmp) == 0", "len(tmp)", "len", "tmp", "0", "print('Impossible')", "print", "'Impossible'", "exit()", "exit", "lis += tmp", "lis", "tmp", "tmp = []", "tmp", "[]", "lis", "lis", "while len(li)>0:\n che(li)", "len(li)>0", "len(li)", "len", "li", "0", "che(li)", "che", "li", "count = 0", "0", "count", "def che(lis):\n lll = lis.pop(0)\n x = lll[0]\n y = lll[1]\n tmp = []\n if x+1 < w:\n #print(x+1,y,w,h,ma)\n if ma[y][x+1] == '#':\n tmp.append([x+1,y])\n if x+1 == w -1 and y == h -1:\n print('Possible')\n exit()\n if y+1 < h:\n if ma[y+1][x] == '#':\n tmp.append([x,y+1])\n if x == w -1 and y+1 == h -1:\n print('Possible')\n exit()\n if len(tmp) == 0:\n print('Impossible')\n exit()\n else:\n lis += tmp\n tmp = []\n #print(lis)", "def che(lis):\n lll = lis.pop(0)\n x = lll[0]\n y = lll[1]\n tmp = []\n if x+1 < w:\n #print(x+1,y,w,h,ma)\n if ma[y][x+1] == '#':\n tmp.append([x+1,y])\n if x+1 == w -1 and y == h -1:\n print('Possible')\n exit()\n if y+1 < h:\n if ma[y+1][x] == '#':\n tmp.append([x,y+1])\n if x == w -1 and y+1 == h -1:\n print('Possible')\n exit()\n if len(tmp) == 0:\n print('Impossible')\n exit()\n else:\n lis += tmp\n tmp = []\n #print(lis)", "che", "tmp_li = list(input())", "list(input())", "tmp_li", "w = map(int,input().split())", "map(int,input().split())", "w", "h,w = map(int,input().split())", "map(int,input().split())", "h", "ma = []", "[]", "ma", "count += 1", "1", "count", "li = [[0,0]]", "[[0,0]]", "li" ]
h,w = map(int,input().split()) ma = [] count = 0 for _ in range(h): tmp_li = list(input()) for t in tmp_li: if t == '#': count += 1 ma.append(tmp_li) if count != w+h-1: print('Impossible') exit() if ma[0][0]!= '#': print('Impossible') exit() li = [[0,0]] def che(lis): lll = lis.pop(0) x = lll[0] y = lll[1] tmp = [] if x+1 < w: #print(x+1,y,w,h,ma) if ma[y][x+1] == '#': tmp.append([x+1,y]) if x+1 == w -1 and y == h -1: print('Possible') exit() if y+1 < h: if ma[y+1][x] == '#': tmp.append([x,y+1]) if x == w -1 and y+1 == h -1: print('Possible') exit() if len(tmp) == 0: print('Impossible') exit() else: lis += tmp tmp = [] #print(lis) while len(li)>0: che(li)
[ 7, 15, 13, 13, 13, 13, 13, 13, 15, 13, 12, 13, 12, 13, 12, 13, 12, 13, 12, 13, 0, 13, 4, 13, 13, 0, 13, 2, 2, 13, 13, 17, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 2, 13, 13, 4, 13, 8, 13, 17, 17, 4, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13 ]
[ [ 22, 21 ], [ 75, 23 ], [ 22, 24 ], [ 27, 26 ], [ 21, 29 ], [ 24, 30 ], [ 34, 33 ], [ 37, 36 ], [ 21, 39 ], [ 42, 41 ], [ 69, 43 ], [ 46, 45 ], [ 41, 48 ], [ 53, 52 ], [ 26, 54 ], [ 45, 55 ], [ 33, 55 ], [ 52, 59 ], [ 72, 63 ] ]
[ "import bisect,collections,copy,itertools,math,string\nimport sys\ndef I(): return int(sys.stdin.readline().rstrip())\ndef LI(): return list(map(int,sys.stdin.readline().rstrip().split()))\ndef S(): return sys.stdin.readline().rstrip()\ndef LS(): return list(sys.stdin.readline().rstrip().split())\ndef main():\n h,w = LI()\n shortest = h+w-1\n cnt = 0\n for i in range(h):\n line = S()\n cnt += line.count(\"#\")\n ans = shortest==cnt \n print(\"Possible\" if ans else \"Impossible\")\nmain() ", "import bisect,collections,copy,itertools,math,string", "bisect", "collections", "copy", "itertools", "math", "string", "import sys", "sys", "def I(): return int(sys.stdin.readline().rstrip())", "I", "def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))", "LI", "def S(): return sys.stdin.readline().rstrip()", "S", "def LS(): return list(sys.stdin.readline().rstrip().split())", "LS", "def main():\n h,w = LI()\n shortest = h+w-1\n cnt = 0\n for i in range(h):\n line = S()\n cnt += line.count(\"#\")\n ans = shortest==cnt \n print(\"Possible\" if ans else \"Impossible\")", "main", "h,w = LI()", "h", "LI()", "LI", "w", "shortest = h+w-1", "shortest", "h+w-1", "h+w", "h", "w", "1", "cnt = 0", "cnt", "0", "for i in range(h):\n line = S()\n cnt += line.count(\"#\")\n ", "i", "range(h)", "range", "h", "line = S()", "line", "S()", "S", "cnt += line.count(\"#\")", "cnt", "line.count(\"#\")", "line.count", "line", "count", "\"#\"", "ans = shortest==cnt", "ans", "shortest==cnt", "shortest", "cnt", "print(\"Possible\" if ans else \"Impossible\")", "print", "\"Possible\" if ans else \"Impossible\"", "ans", "\"Possible\"", "\"Impossible\"", "main()", "main", "def I(): return int(sys.stdin.readline().rstrip())", "def I(): return int(sys.stdin.readline().rstrip())", "I", "def S(): return sys.stdin.readline().rstrip()", "def S(): return sys.stdin.readline().rstrip()", "S", "def main():\n h,w = LI()\n shortest = h+w-1\n cnt = 0\n for i in range(h):\n line = S()\n cnt += line.count(\"#\")\n ans = shortest==cnt \n print(\"Possible\" if ans else \"Impossible\")", "def main():\n h,w = LI()\n shortest = h+w-1\n cnt = 0\n for i in range(h):\n line = S()\n cnt += line.count(\"#\")\n ans = shortest==cnt \n print(\"Possible\" if ans else \"Impossible\")", "main", "def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))", "def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))", "LI", "def LS(): return list(sys.stdin.readline().rstrip().split())", "def LS(): return list(sys.stdin.readline().rstrip().split())", "LS" ]
import bisect,collections,copy,itertools,math,string import sys def I(): return int(sys.stdin.readline().rstrip()) def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) def S(): return sys.stdin.readline().rstrip() def LS(): return list(sys.stdin.readline().rstrip().split()) def main(): h,w = LI() shortest = h+w-1 cnt = 0 for i in range(h): line = S() cnt += line.count("#") ans = shortest==cnt print("Possible" if ans else "Impossible") main()
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 13, 0, 13, 13, 28, 13, 4, 13, 2, 17, 2, 13, 13, 41, 28, 13, 4, 13, 13, 4, 2, 39, 17, 13, 0, 13, 13, 0, 18, 18, 13, 17, 17, 17, 0, 13, 17, 13, 17, 28, 13, 4, 13, 2, 13, 13, 14, 2, 2, 13, 13, 17, 0, 13, 17, 0, 13, 17, 14, 2, 2, 40, 17, 13, 13, 2, 40, 17, 13, 13, 0, 18, 18, 13, 13, 13, 17, 3, 28, 13, 4, 13, 13, 14, 40, 18, 13, 13, 18, 13, 13, 3, 4, 13, 17, 4, 13, 4, 13, 17, 10, 13, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13, 10, 17, 13 ]
[ [ 140, 2 ], [ 140, 13 ], [ 17, 16 ], [ 141, 19 ], [ 143, 26 ], [ 30, 29 ], [ 141, 35 ], [ 138, 36 ], [ 40, 39 ], [ 141, 42 ], [ 138, 47 ], [ 125, 49 ], [ 57, 52 ], [ 126, 54 ], [ 128, 59 ], [ 134, 61 ], [ 65, 64 ], [ 141, 68 ], [ 138, 69 ], [ 29, 73 ], [ 64, 74 ], [ 146, 77 ], [ 131, 80 ], [ 147, 87 ], [ 129, 87 ], [ 141, 88 ], [ 132, 92 ], [ 135, 92 ], [ 138, 93 ], [ 100, 95 ], [ 126, 97 ], [ 147, 98 ], [ 129, 98 ], [ 132, 99 ], [ 135, 99 ], [ 104, 103 ], [ 141, 106 ], [ 144, 110 ], [ 103, 111 ], [ 126, 113 ], [ 103, 114 ], [ 125, 126 ], [ 128, 129 ], [ 131, 132 ], [ 134, 135 ], [ 140, 138 ], [ 140, 141 ], [ 143, 144 ], [ 146, 147 ] ]
[ "H,W=list(map(int, input().split()))\nA=[list(input()) for _ in range(H)]\nfor i in range(2**(H+W)):\n L=[['.']*W for _ in range(H)]\n L[0][0]='#'\n c,d=0,0\n for j in range(H+W):\n if (i>>j)&1:\n c+=1\n else:\n d+=1\n if 0<=c<H and 0<=d<W:\n L[c][d]='#'\n else:\n break\n for k in range(H):\n if A[k]!=L[k]:\n break\n else:\n print('Possible')\n exit()\nelse:\n print('Impossible')", "H,W=list(map(int, input().split()))", "H", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "W", "list(input()) for _ in range(H)", "for _ in range(H)", "_", "range(H)", "range", "H", "for _ in range(H)", "list(input())", "list", "input()", "input", "A=[list(input()) for _ in range(H)]", "A", "[list(input()) for _ in range(H)]", "for i in range(2**(H+W)):\n L=[['.']*W for _ in range(H)]\n L[0][0]='#'\n c,d=0,0\n for j in range(H+W):\n if (i>>j)&1:\n c+=1\n else:\n d+=1\n if 0<=c<H and 0<=d<W:\n L[c][d]='#'\n else:\n break\n for k in range(H):\n if A[k]!=L[k]:\n break\n else:\n print('Possible')\n exit()\nelse:\n print('Impossible')", "i", "range(2**(H+W))", "range", "2**(H+W)", "2", "H+W", "H", "W", "['.']*W for _ in range(H)", "for _ in range(H)", "_", "range(H)", "range", "H", "for _ in range(H)", "['.']*W", "['.']", "'.'", "W", "L=[['.']*W for _ in range(H)]", "L", "[['.']*W for _ in range(H)]", "L[0][0]='#'", "L[0][0]", "[0]", "L", "0", "0", "'#'", "c,d=0,0", "c", "0", "d", "0", "for j in range(H+W):\n if (i>>j)&1:\n c+=1\n else:\n d+=1\n if 0<=c<H and 0<=d<W:\n L[c][d]='#'\n else:\n break\n ", "j", "range(H+W)", "range", "H+W", "H", "W", "if (i>>j)&1:\n c+=1\n else:\n d+=1\n ", "(i>>j)&1", "i>>j", "i", "j", "1", "c+=1", "c", "1", "d+=1", "d", "1", "if 0<=c<H and 0<=d<W:\n L[c][d]='#'\n else:\n break\n ", "0<=c<H and 0<=d<W", "0<=c<H", "0<=c", "0", "c", "H", "0<=d<W", "0<=d", "0", "d", "W", "L[c][d]='#'", "L[c][d]", "[c]", "L", "c", "d", "'#'", "break", "for k in range(H):\n if A[k]!=L[k]:\n break\n else:\n print('Possible')\n exit()", "k", "range(H)", "range", "H", "if A[k]!=L[k]:\n break\n ", "A[k]!=L[k]", "A[k]", "A", "k", "L[k]", "L", "k", "break", "print('Possible')", "print", "'Possible'", "exit()", "exit", "print('Impossible')", "print", "'Impossible'", "L=[['.']*W for _ in range(H)]", "[['.']*W for _ in range(H)]", "L", "c,d=0,0", "0", "c", "d+=1", "1", "d", "d=0,0", "0", "d", "W=list(map(int, input().split()))", "list(map(int, input().split()))", "W", "H,W=list(map(int, input().split()))", "list(map(int, input().split()))", "H", "A=[list(input()) for _ in range(H)]", "[list(input()) for _ in range(H)]", "A", "c+=1", "1", "c" ]
H,W=list(map(int, input().split())) A=[list(input()) for _ in range(H)] for i in range(2**(H+W)): L=[['.']*W for _ in range(H)] L[0][0]='#' c,d=0,0 for j in range(H+W): if (i>>j)&1: c+=1 else: d+=1 if 0<=c<H and 0<=d<W: L[c][d]='#' else: break for k in range(H): if A[k]!=L[k]: break else: print('Possible') exit() else: print('Impossible')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 4, 18, 4, 13, 13, 17, 14, 2, 13, 2, 2, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 52, 2 ], [ 52, 11 ], [ 43, 13 ], [ 17, 16 ], [ 50, 19 ], [ 46, 21 ], [ 47, 30 ], [ 44, 30 ], [ 50, 33 ], [ 53, 34 ], [ 43, 44 ], [ 46, 47 ], [ 52, 50 ], [ 52, 53 ] ]
[ "H, W = map(int, input().split())\nans = 0\nfor i in range(H) :\n ans += input().count('#')\nif ans == H+W-1:\n\tprint(\"Possible\")\nelse:\n\tprint(\"Impossible\")", "H, W = map(int, input().split())", "H", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "W", "ans = 0", "ans", "0", "for i in range(H) :\n ans += input().count('#')", "i", "range(H)", "range", "H", "ans += input().count('#')", "ans", "input().count('#')", "().count", "()", "input", "count", "'#'", "if ans == H+W-1:\n\tprint(\"Possible\")\nelse:\n\tprint(\"Impossible\")", "ans == H+W-1", "ans", "H+W-1", "H+W", "H", "W", "1", "print(\"Possible\")", "print", "\"Possible\"", "print(\"Impossible\")", "print", "\"Impossible\"", "ans = 0", "0", "ans", "ans += input().count('#')", "input().count('#')", "ans", "H, W = map(int, input().split())", "map(int, input().split())", "H", "W = map(int, input().split())", "map(int, input().split())", "W" ]
H, W = map(int, input().split()) ans = 0 for i in range(H) : ans += input().count('#') if ans == H+W-1: print("Possible") else: print("Impossible")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 0, 13, 39, 28, 13, 4, 13, 13, 41, 28, 13, 4, 13, 4, 13, 0, 13, 13, 0, 13, 39, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 4, 18, 13, 13, 13, 14, 2, 2, 4, 13, 13, 17, 2, 2, 18, 13, 17, 18, 13, 17, 17, 4, 13, 17, 4, 13, 14, 40, 13, 13, 4, 18, 13, 13, 13, 14, 2, 4, 13, 13, 13, 4, 13, 17, 4, 13, 4, 13, 17, 10, 13, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13, 10, 39, 13, 10, 39, 13 ]
[ [ 108, 2 ], [ 108, 11 ], [ 114, 13 ], [ 111, 16 ], [ 20, 19 ], [ 106, 22 ], [ 26, 25 ], [ 25, 29 ], [ 99, 31 ], [ 102, 34 ], [ 38, 37 ], [ 100, 42 ], [ 100, 46 ], [ 37, 47 ], [ 103, 51 ], [ 37, 53 ], [ 103, 59 ], [ 103, 64 ], [ 103, 67 ], [ 37, 77 ], [ 112, 78 ], [ 112, 81 ], [ 37, 83 ], [ 112, 88 ], [ 37, 89 ], [ 99, 100 ], [ 102, 103 ], [ 108, 106 ], [ 108, 109 ], [ 111, 112 ], [ 114, 115 ] ]
[ "h, w = map(int, input().split())\nA = []\nres_w = []\nfor i in range(h):\n line = [s for s in input()]\n c = []\n for j in range(len(line)):\n if line[j] == '#':\n c.append(j)\n if (len(c) > 1) and (c[-2] - c[-1] > 1):\n print('Impossible')\n exit()\n if j not in res_w:\n res_w.append(j)\n else:\n if max(res_w) > j:\n \n print('Impossible')\n exit()\nprint('Possible')\n\n", "h, w = map(int, input().split())", "h", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "w", "A = []", "A", "[]", "res_w = []", "res_w", "[]", "for i in range(h):\n line = [s for s in input()]\n c = []\n for j in range(len(line)):\n if line[j] == '#':\n c.append(j)\n if (len(c) > 1) and (c[-2] - c[-1] > 1):\n print('Impossible')\n exit()\n if j not in res_w:\n res_w.append(j)\n else:\n if max(res_w) > j:\n \n print('Impossible')\n exit()", "i", "range(h)", "range", "h", "s for s in input()", "for s in input()", "s", "input()", "input", "for s in input()", "s", "line = [s for s in input()]", "line", "[s for s in input()]", "c = []", "c", "[]", "for j in range(len(line)):\n if line[j] == '#':\n c.append(j)\n if (len(c) > 1) and (c[-2] - c[-1] > 1):\n print('Impossible')\n exit()\n if j not in res_w:\n res_w.append(j)\n else:\n if max(res_w) > j:\n \n print('Impossible')\n exit()", "j", "range(len(line))", "range", "len(line)", "len", "line", "if line[j] == '#':\n c.append(j)\n if (len(c) > 1) and (c[-2] - c[-1] > 1):\n print('Impossible')\n exit()\n if j not in res_w:\n res_w.append(j)\n else:\n if max(res_w) > j:\n \n print('Impossible')\n exit()", "line[j] == '#'", "line[j]", "line", "j", "'#'", "c.append(j)", "c.append", "c", "append", "j", "if (len(c) > 1) and (c[-2] - c[-1] > 1):\n print('Impossible')\n exit()\n ", "(len(c) > 1) and (c[-2] - c[-1] > 1)", "len(c) > 1", "len(c)", "len", "c", "1", "c[-2] - c[-1] > 1", "c[-2] - c[-1]", "c[-2]", "c", "-2", "c[-1]", "c", "-1", "1", "print('Impossible')", "print", "'Impossible'", "exit()", "exit", "if j not in res_w:\n res_w.append(j)\n else:\n if max(res_w) > j:\n \n print('Impossible')\n exit()", "j not in res_w", "j", "res_w", "res_w.append(j)", "res_w.append", "res_w", "append", "j", "if max(res_w) > j:\n \n print('Impossible')\n exit()", "max(res_w) > j", "max(res_w)", "max", "res_w", "j", "print('Impossible')", "print", "'Impossible'", "exit()", "exit", "print('Possible')", "print", "'Possible'", "line = [s for s in input()]", "[s for s in input()]", "line", "c = []", "[]", "c", "h, w = map(int, input().split())", "map(int, input().split())", "h", "w = map(int, input().split())", "map(int, input().split())", "w", "res_w = []", "[]", "res_w", "A = []", "[]", "A" ]
h, w = map(int, input().split()) A = [] res_w = [] for i in range(h): line = [s for s in input()] c = [] for j in range(len(line)): if line[j] == '#': c.append(j) if (len(c) > 1) and (c[-2] - c[-1] > 1): print('Impossible') exit() if j not in res_w: res_w.append(j) else: if max(res_w) > j: print('Impossible') exit() print('Possible')
[ 7, 15, 13, 15, 12, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 18, 4, 13, 13, 17, 0, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 28, 13, 4, 13, 13, 14, 2, 18, 18, 13, 13, 13, 17, 4, 13, 8, 2, 13, 2, 2, 13, 13, 17, 17, 17, 29, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 8, 7 ], [ 15, 14 ], [ 7, 21 ], [ 15, 23 ], [ 27, 26 ], [ 14, 29 ], [ 7, 34 ], [ 39, 38 ], [ 42, 41 ], [ 45, 44 ], [ 14, 47 ], [ 50, 49 ], [ 23, 52 ], [ 38, 57 ], [ 44, 58 ], [ 49, 59 ], [ 41, 65 ], [ 14, 68 ], [ 23, 69 ], [ 83, 80 ] ]
[ "import sys\nfrom collections import deque\n\ndef solve():\n input = sys.stdin.readline\n H, W = map(int, input().split())\n A = [input().strip(\"\\n\") for _ in range(H)]\n count = 0\n for h in range(H):\n for w in range(W):\n if A[h][w] == \"#\": count += 1\n print(\"Possible\" if count == H + W - 1 else \"Impossible\")\n\n return 0\n\nif __name__ == \"__main__\":\n solve()", "import sys", "sys", "from collections import deque", "def solve():\n input = sys.stdin.readline\n H, W = map(int, input().split())\n A = [input().strip(\"\\n\") for _ in range(H)]\n count = 0\n for h in range(H):\n for w in range(W):\n if A[h][w] == \"#\": count += 1\n print(\"Possible\" if count == H + W - 1 else \"Impossible\")\n\n return 0", "solve", "input = sys.stdin.readline", "input", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "H, W = map(int, input().split())", "H", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "W", "input().strip(\"\\n\") for _ in range(H)", "for _ in range(H)", "_", "range(H)", "range", "H", "for _ in range(H)", "input().strip(\"\\n\")", "().strip", "()", "input", "strip", "\"\\n\"", "A = [input().strip(\"\\n\") for _ in range(H)]", "A", "[input().strip(\"\\n\") for _ in range(H)]", "count = 0", "count", "0", "for h in range(H):\n for w in range(W):\n if A[h][w] == \"#\": count += 1\n ", "h", "range(H)", "range", "H", "for w in range(W):\n if A[h][w] == \"#\": count += 1\n ", "w", "range(W)", "range", "W", "if A[h][w] == \"#\": count += 1\n ", "A[h][w] == \"#\"", "A[h][w]", "[h]", "A", "h", "w", "\"#\"", "print(\"Possible\" if count == H + W - 1 else \"Impossible\")", "print", "\"Possible\" if count == H + W - 1 else \"Impossible\"", "count == H + W - 1", "count", "H + W - 1", "H + W", "H", "W", "1", "\"Possible\"", "\"Impossible\"", "return 0", "0", "if __name__ == \"__main__\":\n solve()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "solve()", "solve", "def solve():\n input = sys.stdin.readline\n H, W = map(int, input().split())\n A = [input().strip(\"\\n\") for _ in range(H)]\n count = 0\n for h in range(H):\n for w in range(W):\n if A[h][w] == \"#\": count += 1\n print(\"Possible\" if count == H + W - 1 else \"Impossible\")\n\n return 0", "def solve():\n input = sys.stdin.readline\n H, W = map(int, input().split())\n A = [input().strip(\"\\n\") for _ in range(H)]\n count = 0\n for h in range(H):\n for w in range(W):\n if A[h][w] == \"#\": count += 1\n print(\"Possible\" if count == H + W - 1 else \"Impossible\")\n\n return 0", "solve" ]
import sys from collections import deque def solve(): input = sys.stdin.readline H, W = map(int, input().split()) A = [input().strip("\n") for _ in range(H)] count = 0 for h in range(H): for w in range(W): if A[h][w] == "#": count += 1 print("Possible" if count == H + W - 1 else "Impossible") return 0 if __name__ == "__main__": solve()
[ 7, 15, 13, 15, 13, 4, 18, 13, 13, 17, 15, 15, 13, 15, 13, 0, 13, 2, 2, 17, 17, 17, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 2, 2, 13, 2, 13, 13, 2, 13, 2, 13, 13, 2, 13, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 2, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 59, 16 ], [ 68, 23 ], [ 68, 32 ], [ 68, 33 ], [ 66, 38 ], [ 69, 40 ], [ 63, 41 ], [ 69, 43 ], [ 66, 45 ], [ 63, 46 ], [ 63, 48 ], [ 66, 50 ], [ 69, 51 ], [ 59, 60 ], [ 68, 63 ], [ 68, 66 ], [ 68, 69 ] ]
[ "import sys\nimport itertools\nsys.setrecursionlimit(1000000000)\nfrom heapq import heapify,heappop,heappush,heappushpop\nimport math\nimport collections\nMOD = 10**9+7\n\na,b,c = map(int,input().split())\nif a == b + c or b == a + c or c == a + b:\n print(\"Yes\")\nelse:\n print(\"No\")", "import sys", "sys", "import itertools", "itertools", "sys.setrecursionlimit(1000000000)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "1000000000", "from heapq import heapify,heappop,heappush,heappushpop", "import math", "math", "import collections", "collections", "MOD = 10**9+7", "MOD", "10**9+7", "10**9", "10", "9", "7", "a,b,c = map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "if a == b + c or b == a + c or c == a + b:\n print(\"Yes\")\nelse:\n print(\"No\")", "a == b + c or b == a + c or c == a + b", "a == b + c or b == a + c", "a == b + c", "a", "b + c", "b", "c", "b == a + c", "b", "a + c", "a", "c", "c == a + b", "c", "a + b", "a", "b", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "MOD = 10**9+7", "10**9+7", "MOD", "c = map(int,input().split())", "map(int,input().split())", "c", "a,b,c = map(int,input().split())", "map(int,input().split())", "a", "b,c = map(int,input().split())", "map(int,input().split())", "b" ]
import sys import itertools sys.setrecursionlimit(1000000000) from heapq import heapify,heappop,heappush,heappushpop import math import collections MOD = 10**9+7 a,b,c = map(int,input().split()) if a == b + c or b == a + c or c == a + b: print("Yes") else: print("No")
[ 7, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 0, 13, 13, 0, 13, 4, 13, 13, 14, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 13, 13, 10, 4, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 40, 14 ], [ 43, 17 ], [ 41, 20 ], [ 44, 25 ], [ 41, 25 ], [ 44, 28 ], [ 41, 28 ], [ 44, 31 ], [ 41, 31 ], [ 40, 41 ], [ 43, 44 ] ]
[ "a = [int(i) for i in input().split()]\na = sorted(a)\nif (a[0]+a[1])==a[2]:\n print('Yes')\nelse:\n print('No')", "int(i) for i in input().split()", "for i in input().split()", "i", "input().split()", "().split", "()", "input", "split", "for i in input().split()", "int(i)", "int", "i", "a = [int(i) for i in input().split()]", "a", "[int(i) for i in input().split()]", "a = sorted(a)", "a", "sorted(a)", "sorted", "a", "if (a[0]+a[1])==a[2]:\n print('Yes')\nelse:\n print('No')", "(a[0]+a[1])==a[2]", "a[0]+a[1]", "a[0]", "a", "0", "a[1]", "a", "1", "a[2]", "a", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "a = [int(i) for i in input().split()]", "[int(i) for i in input().split()]", "a", "a = sorted(a)", "sorted(a)", "a" ]
a = [int(i) for i in input().split()] a = sorted(a) if (a[0]+a[1])==a[2]: print('Yes') else: print('No')
[ 7, 15, 13, 12, 13, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 2, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13, 10, 12, 13 ]
[ [ 9, 8 ], [ 54, 15 ], [ 9, 17 ], [ 9, 18 ], [ 8, 24 ], [ 17, 25 ], [ 18, 26 ], [ 17, 29 ], [ 18, 30 ], [ 8, 31 ], [ 18, 34 ], [ 8, 35 ], [ 17, 36 ], [ 51, 48 ] ]
[ "import sys\ndef input(): return sys.stdin.readline().strip()\n\ndef main():\n a, b, c = map(int, input().split())\n if a + b == c or b + c == a or c + a == b:\n print(\"Yes\")\n else:\n print(\"No\")\n\nif __name__ == \"__main__\":\n main()", "import sys", "sys", "def input(): return sys.stdin.readline().strip()", "input", "def main():\n a, b, c = map(int, input().split())\n if a + b == c or b + c == a or c + a == b:\n print(\"Yes\")\n else:\n print(\"No\")", "main", "a, b, c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "if a + b == c or b + c == a or c + a == b:\n print(\"Yes\")\n else:\n print(\"No\")", "a + b == c or b + c == a or c + a == b", "a + b == c or b + c == a", "a + b == c", "a + b", "a", "b", "c", "b + c == a", "b + c", "b", "c", "a", "c + a == b", "c + a", "c", "a", "b", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "if __name__ == \"__main__\":\n main()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "main()", "main", "def main():\n a, b, c = map(int, input().split())\n if a + b == c or b + c == a or c + a == b:\n print(\"Yes\")\n else:\n print(\"No\")", "def main():\n a, b, c = map(int, input().split())\n if a + b == c or b + c == a or c + a == b:\n print(\"Yes\")\n else:\n print(\"No\")", "main", "def input(): return sys.stdin.readline().strip()", "def input(): return sys.stdin.readline().strip()", "input" ]
import sys def input(): return sys.stdin.readline().strip() def main(): a, b, c = map(int, input().split()) if a + b == c or b + c == a or c + a == b: print("Yes") else: print("No") if __name__ == "__main__": main()
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 4, 18, 13, 13, 2, 17, 17, 15, 15, 15, 15, 15, 15, 15, 12, 13, 12, 13, 12, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 13, 12, 13, 41, 28, 13, 4, 13, 13, 4, 39, 4, 13, 12, 13, 0, 13, 2, 17, 17, 0, 13, 2, 2, 17, 17, 17, 0, 13, 4, 13, 13, 13, 14, 2, 2, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 4, 13, 17, 4, 13, 17, 10, 12, 13, 10, 4, 13, 10, 2, 13, 10, 4, 13, 10, 4, 13, 10, 12, 13, 10, 12, 13, 10, 18, 13, 10, 12, 13, 10, 2, 13, 10, 12, 13 ]
[ [ 119, 4 ], [ 33, 32 ], [ 120, 40 ], [ 46, 45 ], [ 114, 52 ], [ 125, 56 ], [ 104, 61 ], [ 110, 68 ], [ 99, 70 ], [ 110, 71 ], [ 110, 72 ], [ 108, 78 ], [ 111, 79 ], [ 102, 80 ], [ 111, 83 ], [ 102, 84 ], [ 108, 85 ], [ 102, 88 ], [ 108, 89 ], [ 111, 90 ], [ 110, 102 ], [ 104, 105 ], [ 110, 108 ], [ 110, 111 ], [ 119, 120 ], [ 125, 126 ] ]
[ "import sys\ninput = sys.stdin.readline\nsys.setrecursionlimit(10**7)\nfrom collections import Counter, deque\nfrom collections import defaultdict\nfrom itertools import combinations, permutations, accumulate, groupby, product\nfrom bisect import bisect_left,bisect_right\nfrom heapq import heapify, heappop, heappush\nfrom math import floor, ceil\nfrom operator import itemgetter\ndef I(): return int(input())\ndef MI(): return map(int, input().split())\ndef LI(): return list(map(int, input().split()))\ndef LI2(): return [int(input()) for i in range(n)]\ndef MXI(): return [[LI()]for i in range(n)]\ninf = 10**17\nmod = 10**9 + 7\n\na,b,c=MI()\nif a+b==c or b+c==a or c+a==b:\n print(\"Yes\")\nelse:\n print(\"No\")", "import sys", "sys", "input = sys.stdin.readline", "input", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "sys.setrecursionlimit(10**7)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10**7", "10", "7", "from collections import Counter, deque", "from collections import defaultdict", "from itertools import combinations, permutations, accumulate, groupby, product", "from bisect import bisect_left,bisect_right", "from heapq import heapify, heappop, heappush", "from math import floor, ceil", "from operator import itemgetter", "def I(): return int(input())", "I", "def MI(): return map(int, input().split())", "MI", "def LI(): return list(map(int, input().split()))", "LI", "int(input()) for i in range(n)", "for i in range(n)", "i", "range(n)", "range", "n", "for i in range(n)", "int(input())", "int", "input()", "input", "def LI2(): return [int(input()) for i in range(n)]", "LI2", "[LI()]for i in range(n)", "for i in range(n)", "i", "range(n)", "range", "n", "for i in range(n)", "[LI()]", "LI()", "LI", "def MXI(): return [[LI()]for i in range(n)]", "MXI", "inf = 10**17", "inf", "10**17", "10", "17", "mod = 10**9 + 7", "mod", "10**9 + 7", "10**9", "10", "9", "7", "a,b,c=MI()", "a", "MI()", "MI", "b", "c", "if a+b==c or b+c==a or c+a==b:\n print(\"Yes\")\nelse:\n print(\"No\")", "a+b==c or b+c==a or c+a==b", "a+b==c or b+c==a", "a+b==c", "a+b", "a", "b", "c", "b+c==a", "b+c", "b", "c", "a", "c+a==b", "c+a", "c", "a", "b", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "def MI(): return map(int, input().split())", "def MI(): return map(int, input().split())", "MI", "c=MI()", "MI()", "c", "mod = 10**9 + 7", "10**9 + 7", "mod", "a,b,c=MI()", "MI()", "a", "b,c=MI()", "MI()", "b", "def LI(): return list(map(int, input().split()))", "def LI(): return list(map(int, input().split()))", "LI", "def MXI(): return [[LI()]for i in range(n)]", "def MXI(): return [[LI()]for i in range(n)]", "MXI", "input = sys.stdin.readline", "sys.stdin.readline", "input", "def I(): return int(input())", "def I(): return int(input())", "I", "inf = 10**17", "10**17", "inf", "def LI2(): return [int(input()) for i in range(n)]", "def LI2(): return [int(input()) for i in range(n)]", "LI2" ]
import sys input = sys.stdin.readline sys.setrecursionlimit(10**7) from collections import Counter, deque from collections import defaultdict from itertools import combinations, permutations, accumulate, groupby, product from bisect import bisect_left,bisect_right from heapq import heapify, heappop, heappush from math import floor, ceil from operator import itemgetter def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) def LI2(): return [int(input()) for i in range(n)] def MXI(): return [[LI()]for i in range(n)] inf = 10**17 mod = 10**9 + 7 a,b,c=MI() if a+b==c or b+c==a or c+a==b: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 13, 8, 2, 2, 4, 13, 13, 17, 13, 17, 17, 10, 4, 13 ]
[ [ 26, 2 ], [ 27, 20 ], [ 27, 22 ], [ 26, 27 ] ]
[ "A = list(map(int, input().split()))\nprint('Yes' if sum(A)/2 in A else 'No')", "A = list(map(int, input().split()))", "A", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "print('Yes' if sum(A)/2 in A else 'No')", "print", "'Yes' if sum(A)/2 in A else 'No'", "sum(A)/2 in A", "sum(A)/2", "sum(A)", "sum", "A", "2", "A", "'Yes'", "'No'", "A = list(map(int, input().split()))", "list(map(int, input().split()))", "A" ]
A = list(map(int, input().split())) print('Yes' if sum(A)/2 in A else 'No')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 4, 13, 8, 2, 4, 13, 13, 13, 13, 2, 2, 2, 13, 13, 13, 4, 13, 13, 13, 13, 17, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 42, 11 ], [ 42, 12 ], [ 37, 19 ], [ 43, 20 ], [ 40, 21 ], [ 37, 25 ], [ 43, 26 ], [ 40, 27 ], [ 37, 30 ], [ 43, 31 ], [ 40, 32 ], [ 42, 37 ], [ 42, 40 ], [ 42, 43 ] ]
[ "a,b,c=map(int,input().split())\nprint(\"Yes\" if max(a,b,c)==(a+b+c)-max(a,b,c) else \"No\")", "a,b,c=map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "print(\"Yes\" if max(a,b,c)==(a+b+c)-max(a,b,c) else \"No\")", "print", "\"Yes\" if max(a,b,c)==(a+b+c)-max(a,b,c) else \"No\"", "max(a,b,c)==(a+b+c)-max(a,b,c)", "max(a,b,c)", "max", "a", "b", "c", "(a+b+c)-max(a,b,c)", "a+b+c", "a+b", "a", "b", "c", "max(a,b,c)", "max", "a", "b", "c", "\"Yes\"", "\"No\"", "a,b,c=map(int,input().split())", "map(int,input().split())", "a", "c=map(int,input().split())", "map(int,input().split())", "c", "b,c=map(int,input().split())", "map(int,input().split())", "b" ]
a,b,c=map(int,input().split()) print("Yes" if max(a,b,c)==(a+b+c)-max(a,b,c) else "No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 13, 2, 13, 13, 4, 13, 17, 14, 2, 13, 2, 13, 13, 4, 13, 17, 14, 2, 13, 2, 13, 13, 4, 13, 17, 14, 2, 2, 2, 13, 13, 13, 2, 2, 2, 2, 13, 13, 13, 17, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 69, 2 ], [ 69, 11 ], [ 69, 12 ], [ 64, 15 ], [ 70, 17 ], [ 67, 18 ], [ 70, 24 ], [ 64, 26 ], [ 67, 27 ], [ 67, 33 ], [ 64, 35 ], [ 70, 36 ], [ 64, 44 ], [ 70, 45 ], [ 67, 46 ], [ 64, 51 ], [ 70, 52 ], [ 67, 53 ], [ 69, 64 ], [ 69, 67 ], [ 69, 70 ] ]
[ "# 2人で同じ個数になるように分ける。\n# 3つの袋が同じ数かつ偶数の場合も分けれる。\n\na_box, b_box, c_box = map(int, input().split())\n\nif a_box == b_box + c_box:\n print('Yes')\nelif b_box == a_box + c_box:\n print('Yes')\nelif c_box == a_box + b_box:\n print('Yes')\nelif a_box == b_box == c_box and (a_box + b_box + c_box) % 2 == 0:\n print('Yes')\nelse:\n print('No')", "a_box, b_box, c_box = map(int, input().split())", "a_box", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b_box", "c_box", "if a_box == b_box + c_box:\n print('Yes')\nelif b_box == a_box + c_box:\n print('Yes')\nelif c_box == a_box + b_box:\n print('Yes')\nelif a_box == b_box == c_box and (a_box + b_box + c_box) % 2 == 0:\n print('Yes')\nelse:\n print('No')", "a_box == b_box + c_box", "a_box", "b_box + c_box", "b_box", "c_box", "print('Yes')", "print", "'Yes'", "elif b_box == a_box + c_box:\n print('Yes')", "b_box == a_box + c_box", "b_box", "a_box + c_box", "a_box", "c_box", "print('Yes')", "print", "'Yes'", "elif c_box == a_box + b_box:\n print('Yes')", "c_box == a_box + b_box", "c_box", "a_box + b_box", "a_box", "b_box", "print('Yes')", "print", "'Yes'", "elif a_box == b_box == c_box and (a_box + b_box + c_box) % 2 == 0:\n print('Yes')", "a_box == b_box == c_box and (a_box + b_box + c_box) % 2 == 0", "a_box == b_box == c_box", "a_box == b_box", "a_box", "b_box", "c_box", "(a_box + b_box + c_box) % 2 == 0", "(a_box + b_box + c_box) % 2", "a_box + b_box + c_box", "a_box + b_box", "a_box", "b_box", "c_box", "2", "0", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "a_box, b_box, c_box = map(int, input().split())", "map(int, input().split())", "a_box", "c_box = map(int, input().split())", "map(int, input().split())", "c_box", "b_box, c_box = map(int, input().split())", "map(int, input().split())", "b_box" ]
# 2人で同じ個数になるように分ける。 # 3つの袋が同じ数かつ偶数の場合も分けれる。 a_box, b_box, c_box = map(int, input().split()) if a_box == b_box + c_box: print('Yes') elif b_box == a_box + c_box: print('Yes') elif c_box == a_box + b_box: print('Yes') elif a_box == b_box == c_box and (a_box + b_box + c_box) % 2 == 0: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 2, 2, 2, 13, 13, 13, 4, 13, 13, 13, 13, 2, 2, 2, 13, 13, 13, 17, 4, 13, 17, 14, 2, 2, 2, 2, 13, 13, 13, 4, 13, 13, 13, 13, 2, 2, 2, 13, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 69, 2 ], [ 69, 11 ], [ 69, 12 ], [ 64, 18 ], [ 67, 19 ], [ 70, 20 ], [ 64, 23 ], [ 67, 24 ], [ 70, 25 ], [ 64, 29 ], [ 67, 30 ], [ 70, 31 ], [ 64, 41 ], [ 67, 42 ], [ 70, 43 ], [ 64, 46 ], [ 67, 47 ], [ 70, 48 ], [ 64, 52 ], [ 67, 53 ], [ 70, 54 ], [ 69, 64 ], [ 69, 67 ], [ 69, 70 ] ]
[ "a,b,c=map(int,input().split())\nif a+b+c-min(a,b,c)==(a+b+c)/2:\n print(\"Yes\")\nelif a+b+c-max(a,b,c)==(a+b+c)/2:\n print(\"Yes\")\nelse:\n print(\"No\")", "a,b,c=map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "if a+b+c-min(a,b,c)==(a+b+c)/2:\n print(\"Yes\")\nelif a+b+c-max(a,b,c)==(a+b+c)/2:\n print(\"Yes\")\nelse:\n print(\"No\")", "a+b+c-min(a,b,c)==(a+b+c)/2", "a+b+c-min(a,b,c)", "a+b+c", "a+b", "a", "b", "c", "min(a,b,c)", "min", "a", "b", "c", "(a+b+c)/2", "a+b+c", "a+b", "a", "b", "c", "2", "print(\"Yes\")", "print", "\"Yes\"", "elif a+b+c-max(a,b,c)==(a+b+c)/2:\n print(\"Yes\")", "a+b+c-max(a,b,c)==(a+b+c)/2", "a+b+c-max(a,b,c)", "a+b+c", "a+b", "a", "b", "c", "max(a,b,c)", "max", "a", "b", "c", "(a+b+c)/2", "a+b+c", "a+b", "a", "b", "c", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "a,b,c=map(int,input().split())", "map(int,input().split())", "a", "b,c=map(int,input().split())", "map(int,input().split())", "b", "c=map(int,input().split())", "map(int,input().split())", "c" ]
a,b,c=map(int,input().split()) if a+b+c-min(a,b,c)==(a+b+c)/2: print("Yes") elif a+b+c-max(a,b,c)==(a+b+c)/2: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 39, 13, 13, 13, 0, 13, 2, 4, 13, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 39, 13, 10, 4, 13, 10, 2, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 49, 2 ], [ 49, 11 ], [ 49, 12 ], [ 37, 14 ], [ 43, 20 ], [ 38, 24 ], [ 44, 28 ], [ 38, 29 ], [ 37, 38 ], [ 49, 41 ], [ 43, 44 ], [ 49, 47 ], [ 49, 50 ] ]
[ "a,b,c = map(int,input().split())\n\nl = [a,b,c]\n\nabc = sum(l)/2\n\nif abc in l:\n print('Yes')\nelse:\n print('No')", "a,b,c = map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "l = [a,b,c]", "l", "[a,b,c]", "a", "b", "c", "abc = sum(l)/2", "abc", "sum(l)/2", "sum(l)", "sum", "l", "2", "if abc in l:\n print('Yes')\nelse:\n print('No')", "abc in l", "abc", "l", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "l = [a,b,c]", "[a,b,c]", "l", "b,c = map(int,input().split())", "map(int,input().split())", "b", "abc = sum(l)/2", "sum(l)/2", "abc", "a,b,c = map(int,input().split())", "map(int,input().split())", "a", "c = map(int,input().split())", "map(int,input().split())", "c" ]
a,b,c = map(int,input().split()) l = [a,b,c] abc = sum(l)/2 if abc in l: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 4, 13, 13, 14, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 40, 2 ], [ 37, 14 ], [ 41, 17 ], [ 38, 22 ], [ 38, 25 ], [ 38, 28 ], [ 37, 38 ], [ 40, 41 ] ]
[ "x = list(map(int,input().split()))\ny = sorted(x)\nif y[0]+y[1]==y[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "x = list(map(int,input().split()))", "x", "list(map(int,input().split()))", "list", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "y = sorted(x)", "y", "sorted(x)", "sorted", "x", "if y[0]+y[1]==y[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "y[0]+y[1]==y[2]", "y[0]+y[1]", "y[0]", "y", "0", "y[1]", "y", "1", "y[2]", "y", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "y = sorted(x)", "sorted(x)", "y", "x = list(map(int,input().split()))", "list(map(int,input().split()))", "x" ]
x = list(map(int,input().split())) y = sorted(x) if y[0]+y[1]==y[2]: print("Yes") else: print("No")
[ 7, 0, 31, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 13, 8, 2, 2, 4, 13, 13, 17, 4, 13, 13, 17, 17 ]
[ [ 4, 2 ] ]
[ "*i,=map(int, input().split())\nprint('Yes' if max(i)*2==sum(i) else 'No')", "*i,=map(int, input().split())", "*i", "i", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "print('Yes' if max(i)*2==sum(i) else 'No')", "print", "'Yes' if max(i)*2==sum(i) else 'No'", "max(i)*2==sum(i)", "max(i)*2", "max(i)", "max", "i", "2", "sum(i)", "sum", "i", "'Yes'", "'No'" ]
*i,=map(int, input().split()) print('Yes' if max(i)*2==sum(i) else 'No')
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 18, 13, 13, 14, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 36, 2 ], [ 37, 15 ], [ 37, 21 ], [ 37, 24 ], [ 37, 27 ], [ 36, 37 ] ]
[ "arr = list(map(int, input().split()))\narr.sort()\n\nif arr[0] + arr[1] == arr[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "arr = list(map(int, input().split()))", "arr", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "arr.sort()", "arr.sort", "arr", "sort", "if arr[0] + arr[1] == arr[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "arr[0] + arr[1] == arr[2]", "arr[0] + arr[1]", "arr[0]", "arr", "0", "arr[1]", "arr", "1", "arr[2]", "arr", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "arr = list(map(int, input().split()))", "list(map(int, input().split()))", "arr" ]
arr = list(map(int, input().split())) arr.sort() if arr[0] + arr[1] == arr[2]: print("Yes") else: print("No")
[ 7, 15, 13, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 4, 13, 13, 4, 18, 13, 13, 28, 13, 4, 13, 4, 13, 13, 0, 13, 4, 13, 4, 18, 13, 13, 13, 2, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 2, 17, 4, 13, 18, 13, 13, 13, 4, 13, 17, 3, 9, 3, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 76, 4 ], [ 73, 16 ], [ 77, 19 ], [ 77, 22 ], [ 26, 25 ], [ 77, 30 ], [ 70, 32 ], [ 77, 39 ], [ 25, 41 ], [ 45, 44 ], [ 71, 49 ], [ 71, 57 ], [ 44, 58 ], [ 74, 59 ], [ 70, 71 ], [ 73, 74 ], [ 76, 77 ] ]
[ "import itertools\nA = list(map(int, input().split()))\ns = sum(A)\nA.sort()\nfor k in range(len(A)):\n li = list(itertools.combinations(A, k+1))\n for j in range(len(li)):\n if 2 * sum(li[j]) == s:\n print(\"Yes\")\n break\n else:\n continue\n break\nelse:\n print(\"No\")", "import itertools", "itertools", "A = list(map(int, input().split()))", "A", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "s = sum(A)", "s", "sum(A)", "sum", "A", "A.sort()", "A.sort", "A", "sort", "for k in range(len(A)):\n li = list(itertools.combinations(A, k+1))\n for j in range(len(li)):\n if 2 * sum(li[j]) == s:\n print(\"Yes\")\n break\n else:\n continue\n break\nelse:\n print(\"No\")", "k", "range(len(A))", "range", "len(A)", "len", "A", "li = list(itertools.combinations(A, k+1))", "li", "list(itertools.combinations(A, k+1))", "list", "itertools.combinations(A, k+1)", "itertools.combinations", "itertools", "combinations", "A", "k+1", "k", "1", "for j in range(len(li)):\n if 2 * sum(li[j]) == s:\n print(\"Yes\")\n break\n else:\n continue\n ", "j", "range(len(li))", "range", "len(li)", "len", "li", "if 2 * sum(li[j]) == s:\n print(\"Yes\")\n break\n ", "2 * sum(li[j]) == s", "2 * sum(li[j])", "2", "sum(li[j])", "sum", "li[j]", "li", "j", "s", "print(\"Yes\")", "print", "\"Yes\"", "break", "continue", "break", "print(\"No\")", "print", "\"No\"", "li = list(itertools.combinations(A, k+1))", "list(itertools.combinations(A, k+1))", "li", "s = sum(A)", "sum(A)", "s", "A = list(map(int, input().split()))", "list(map(int, input().split()))", "A" ]
import itertools A = list(map(int, input().split())) s = sum(A) A.sort() for k in range(len(A)): li = list(itertools.combinations(A, k+1)) for j in range(len(li)): if 2 * sum(li[j]) == s: print("Yes") break else: continue break else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 13, 4, 13, 17, 14, 2, 13, 13, 4, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 2, 13, 10, 2, 13, 10, 4, 13, 10, 2, 13, 10, 4, 13 ]
[ [ 68, 2 ], [ 68, 11 ], [ 68, 12 ], [ 56, 14 ], [ 63, 16 ], [ 54, 17 ], [ 59, 19 ], [ 63, 21 ], [ 69, 22 ], [ 65, 24 ], [ 54, 26 ], [ 69, 27 ], [ 57, 30 ], [ 69, 31 ], [ 60, 37 ], [ 54, 38 ], [ 66, 44 ], [ 63, 45 ], [ 68, 54 ], [ 56, 57 ], [ 59, 60 ], [ 68, 63 ], [ 65, 66 ], [ 68, 69 ] ]
[ "a, b, c = map(int, input().split())\nab = a + b\nac = a + c\nbc = b + c\n\nif ab == c:\n print('Yes')\nelif ac == b:\n print('Yes')\nelif bc == a:\n print('Yes')\nelse:\n print('No')", "a, b, c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "ab = a + b", "ab", "a + b", "a", "b", "ac = a + c", "ac", "a + c", "a", "c", "bc = b + c", "bc", "b + c", "b", "c", "if ab == c:\n print('Yes')\nelif ac == b:\n print('Yes')\nelif bc == a:\n print('Yes')\nelse:\n print('No')", "ab == c", "ab", "c", "print('Yes')", "print", "'Yes'", "elif ac == b:\n print('Yes')", "ac == b", "ac", "b", "print('Yes')", "print", "'Yes'", "elif bc == a:\n print('Yes')", "bc == a", "bc", "a", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "b, c = map(int, input().split())", "map(int, input().split())", "b", "ab = a + b", "a + b", "ab", "ac = a + c", "a + c", "ac", "a, b, c = map(int, input().split())", "map(int, input().split())", "a", "bc = b + c", "b + c", "bc", "c = map(int, input().split())", "map(int, input().split())", "c" ]
a, b, c = map(int, input().split()) ab = a + b ac = a + c bc = b + c if ab == c: print('Yes') elif ac == b: print('Yes') elif bc == a: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 13, 13, 13, 14, 2, 13, 2, 2, 2, 13, 13, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 43, 2 ], [ 43, 11 ], [ 43, 12 ], [ 46, 14 ], [ 44, 17 ], [ 38, 18 ], [ 41, 19 ], [ 47, 22 ], [ 44, 26 ], [ 38, 27 ], [ 41, 28 ], [ 47, 29 ], [ 43, 38 ], [ 43, 41 ], [ 43, 44 ], [ 46, 47 ] ]
[ "a,b,c=map(int,input().split())\nd=max(a,b,c)\nif d == a+b+c-d:\n print('Yes')\nelse:\n print('No')", "a,b,c=map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "d=max(a,b,c)", "d", "max(a,b,c)", "max", "a", "b", "c", "if d == a+b+c-d:\n print('Yes')\nelse:\n print('No')", "d == a+b+c-d", "d", "a+b+c-d", "a+b+c", "a+b", "a", "b", "c", "d", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "b,c=map(int,input().split())", "map(int,input().split())", "b", "c=map(int,input().split())", "map(int,input().split())", "c", "a,b,c=map(int,input().split())", "map(int,input().split())", "a", "d=max(a,b,c)", "max(a,b,c)", "d" ]
a,b,c=map(int,input().split()) d=max(a,b,c) if d == a+b+c-d: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 4, 13, 13, 0, 13, 2, 4, 13, 13, 13, 14, 2, 13, 17, 0, 13, 17, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 2, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 42, 2 ], [ 39, 14 ], [ 43, 17 ], [ 45, 19 ], [ 43, 23 ], [ 40, 24 ], [ 46, 27 ], [ 51, 30 ], [ 48, 33 ], [ 49, 37 ], [ 52, 37 ], [ 39, 40 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ] ]
[ "S_list = list(map(int, input().split()))\n\nS_max = max(S_list)\nanswer = (sum(S_list)) / S_max\nif answer == 2:\n result = \"Yes\"\nelse:\n result = \"No\"\nprint(result)", "S_list = list(map(int, input().split()))", "S_list", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "S_max = max(S_list)", "S_max", "max(S_list)", "max", "S_list", "answer = (sum(S_list)) / S_max", "answer", "(sum(S_list)) / S_max", "sum(S_list)", "sum", "S_list", "S_max", "if answer == 2:\n result = \"Yes\"\nelse:\n result = \"No\"", "answer == 2", "answer", "2", "result = \"Yes\"", "result", "\"Yes\"", "result = \"No\"", "result", "\"No\"", "print(result)", "print", "result", "S_max = max(S_list)", "max(S_list)", "S_max", "S_list = list(map(int, input().split()))", "list(map(int, input().split()))", "S_list", "answer = (sum(S_list)) / S_max", "(sum(S_list)) / S_max", "answer", "result = \"No\"", "\"No\"", "result", "result = \"Yes\"", "\"Yes\"", "result" ]
S_list = list(map(int, input().split())) S_max = max(S_list) answer = (sum(S_list)) / S_max if answer == 2: result = "Yes" else: result = "No" print(result)
[ 7, 15, 13, 15, 13, 15, 13, 15, 13, 15, 13, 15, 13, 15, 13, 0, 13, 12, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0, 13, 12, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0, 13, 12, 4, 13, 4, 18, 18, 13, 13, 13, 0, 13, 12, 4, 13, 13, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0, 13, 12, 4, 13, 4, 13, 13, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0, 13, 4, 13, 17, 0, 13, 2, 2, 17, 17, 17, 0, 13, 4, 13, 0, 13, 2, 4, 13, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 2, 13, 10, 12, 13, 10, 12, 13, 10, 4, 13, 10, 12, 13, 10, 2, 13, 10, 12, 13, 10, 12, 13 ]
[ [ 122, 16 ], [ 140, 28 ], [ 131, 40 ], [ 137, 51 ], [ 125, 66 ], [ 128, 83 ], [ 134, 88 ], [ 116, 95 ], [ 126, 97 ], [ 119, 99 ], [ 117, 103 ], [ 120, 107 ], [ 117, 108 ], [ 116, 117 ], [ 119, 120 ], [ 122, 123 ], [ 125, 126 ], [ 128, 129 ], [ 131, 132 ], [ 134, 135 ], [ 137, 138 ], [ 140, 141 ] ]
[ "import sys\nimport math\nimport itertools\nimport collections\nimport heapq\nimport re\nimport numpy as np\n\nrr = lambda: sys.stdin.readline().rstrip()\nrs = lambda: sys.stdin.readline().split()\nri = lambda: int(sys.stdin.readline())\nrm = lambda: map(int, sys.stdin.readline().split())\nrl = lambda: list(map(int, sys.stdin.readline().split()))\ninf = float('inf')\nmod = 10**9 + 7\n\na = rl()\nt = sum(a)/2\nif t in a:\n print('Yes')\nelse:\n print('No')\n\n\n\n\n\n\n", "import sys", "sys", "import math", "math", "import itertools", "itertools", "import collections", "collections", "import heapq", "heapq", "import re", "re", "import numpy as np", "numpy", "rr = lambda: sys.stdin.readline().rstrip()", "rr", "lambda: sys.stdin.readline().rstrip()", "sys.stdin.readline().rstrip()", "sys.stdin.readline().rstrip", "sys.stdin.readline()", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "rstrip", "rs = lambda: sys.stdin.readline().split()", "rs", "lambda: sys.stdin.readline().split()", "sys.stdin.readline().split()", "sys.stdin.readline().split", "sys.stdin.readline()", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "split", "ri = lambda: int(sys.stdin.readline())", "ri", "lambda: int(sys.stdin.readline())", "int(sys.stdin.readline())", "int", "sys.stdin.readline()", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "rm = lambda: map(int, sys.stdin.readline().split())", "rm", "lambda: map(int, sys.stdin.readline().split())", "map(int, sys.stdin.readline().split())", "map", "int", "sys.stdin.readline().split()", "sys.stdin.readline().split", "sys.stdin.readline()", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "split", "rl = lambda: list(map(int, sys.stdin.readline().split()))", "rl", "lambda: list(map(int, sys.stdin.readline().split()))", "list(map(int, sys.stdin.readline().split()))", "list", "map(int, sys.stdin.readline().split())", "map", "int", "sys.stdin.readline().split()", "sys.stdin.readline().split", "sys.stdin.readline()", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "split", "inf = float('inf')", "inf", "float('inf')", "float", "'inf'", "mod = 10**9 + 7", "mod", "10**9 + 7", "10**9", "10", "9", "7", "a = rl()", "a", "rl()", "rl", "t = sum(a)/2", "t", "sum(a)/2", "sum(a)", "sum", "a", "2", "if t in a:\n print('Yes')\nelse:\n print('No')", "t in a", "t", "a", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "a = rl()", "rl()", "a", "t = sum(a)/2", "sum(a)/2", "t", "rr = lambda: sys.stdin.readline().rstrip()", "lambda: sys.stdin.readline().rstrip()", "rr", "rl = lambda: list(map(int, sys.stdin.readline().split()))", "lambda: list(map(int, sys.stdin.readline().split()))", "rl", "inf = float('inf')", "float('inf')", "inf", "ri = lambda: int(sys.stdin.readline())", "lambda: int(sys.stdin.readline())", "ri", "mod = 10**9 + 7", "10**9 + 7", "mod", "rm = lambda: map(int, sys.stdin.readline().split())", "lambda: map(int, sys.stdin.readline().split())", "rm", "rs = lambda: sys.stdin.readline().split()", "lambda: sys.stdin.readline().split()", "rs" ]
import sys import math import itertools import collections import heapq import re import numpy as np rr = lambda: sys.stdin.readline().rstrip() rs = lambda: sys.stdin.readline().split() ri = lambda: int(sys.stdin.readline()) rm = lambda: map(int, sys.stdin.readline().split()) rl = lambda: list(map(int, sys.stdin.readline().split())) inf = float('inf') mod = 10**9 + 7 a = rl() t = sum(a)/2 if t in a: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 18, 13, 13, 14, 2, 4, 13, 18, 13, 39, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 35, 2 ], [ 36, 15 ], [ 36, 22 ], [ 36, 26 ], [ 35, 36 ] ]
[ "a = list(map(int, input().split()))\na.sort()\nif sum(a[:2]) == a[2]:\n print('Yes')\nelse:\n print('No')", "a = list(map(int, input().split()))", "a", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "a.sort()", "a.sort", "a", "sort", "if sum(a[:2]) == a[2]:\n print('Yes')\nelse:\n print('No')", "sum(a[:2]) == a[2]", "sum(a[:2])", "sum", "a[:2]", "a", ":2", "2", "a[2]", "a", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "a = list(map(int, input().split()))", "list(map(int, input().split()))", "a" ]
a = list(map(int, input().split())) a.sort() if sum(a[:2]) == a[2]: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 39, 13, 13, 13, 14, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 49, 2 ], [ 49, 11 ], [ 49, 12 ], [ 46, 14 ], [ 47, 25 ], [ 47, 28 ], [ 47, 31 ], [ 49, 41 ], [ 49, 44 ], [ 46, 47 ], [ 49, 50 ] ]
[ "a,b,c=map(int,input().split())\nsortlist=sorted([a,b,c])\nif sortlist[0]+sortlist[1]==sortlist[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "a,b,c=map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "sortlist=sorted([a,b,c])", "sortlist", "sorted([a,b,c])", "sorted", "[a,b,c]", "a", "b", "c", "if sortlist[0]+sortlist[1]==sortlist[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "sortlist[0]+sortlist[1]==sortlist[2]", "sortlist[0]+sortlist[1]", "sortlist[0]", "sortlist", "0", "sortlist[1]", "sortlist", "1", "sortlist[2]", "sortlist", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "c=map(int,input().split())", "map(int,input().split())", "c", "a,b,c=map(int,input().split())", "map(int,input().split())", "a", "sortlist=sorted([a,b,c])", "sorted([a,b,c])", "sortlist", "b,c=map(int,input().split())", "map(int,input().split())", "b" ]
a,b,c=map(int,input().split()) sortlist=sorted([a,b,c]) if sortlist[0]+sortlist[1]==sortlist[2]: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 13, 8, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 17, 17, 10, 4, 13 ]
[ [ 32, 2 ], [ 33, 21 ], [ 33, 24 ], [ 33, 27 ], [ 32, 33 ] ]
[ "X = sorted(list(map(int, input().split())))\nprint(\"Yes\" if X[0] + X[1] == X[2] else \"No\")", "X = sorted(list(map(int, input().split())))", "X", "sorted(list(map(int, input().split())))", "sorted", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "print(\"Yes\" if X[0] + X[1] == X[2] else \"No\")", "print", "\"Yes\" if X[0] + X[1] == X[2] else \"No\"", "X[0] + X[1] == X[2]", "X[0] + X[1]", "X[0]", "X", "0", "X[1]", "X", "1", "X[2]", "X", "2", "\"Yes\"", "\"No\"", "X = sorted(list(map(int, input().split())))", "sorted(list(map(int, input().split())))", "X" ]
X = sorted(list(map(int, input().split()))) print("Yes" if X[0] + X[1] == X[2] else "No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 4, 13, 8, 2, 2, 2, 2, 13, 13, 13, 4, 13, 13, 13, 13, 17, 17, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 38, 2 ], [ 38, 11 ], [ 38, 12 ], [ 39, 20 ], [ 36, 21 ], [ 33, 22 ], [ 39, 25 ], [ 36, 26 ], [ 33, 27 ], [ 38, 33 ], [ 38, 36 ], [ 38, 39 ] ]
[ "a,b,c = map(int,input().split())\nprint(\"Yes\" if (a+b+c) / max(a,b,c)==2 else \"No\")", "a,b,c = map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "print(\"Yes\" if (a+b+c) / max(a,b,c)==2 else \"No\")", "print", "\"Yes\" if (a+b+c) / max(a,b,c)==2 else \"No\"", "(a+b+c) / max(a,b,c)==2", "(a+b+c) / max(a,b,c)", "a+b+c", "a+b", "a", "b", "c", "max(a,b,c)", "max", "a", "b", "c", "2", "\"Yes\"", "\"No\"", "c = map(int,input().split())", "map(int,input().split())", "c", "b,c = map(int,input().split())", "map(int,input().split())", "b", "a,b,c = map(int,input().split())", "map(int,input().split())", "a" ]
a,b,c = map(int,input().split()) print("Yes" if (a+b+c) / max(a,b,c)==2 else "No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 39, 13, 13, 13, 0, 13, 4, 13, 13, 13, 13, 14, 2, 13, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 53, 2 ], [ 53, 11 ], [ 53, 12 ], [ 47, 14 ], [ 41, 22 ], [ 54, 25 ], [ 45, 26 ], [ 51, 27 ], [ 42, 30 ], [ 48, 32 ], [ 42, 33 ], [ 41, 42 ], [ 53, 45 ], [ 47, 48 ], [ 53, 51 ], [ 53, 54 ] ]
[ "a,b,c = map(int, input().split())\n\ns = sum([a,b,c])\nm = max(a,b,c)\n\nif m == (s - m):\n print(\"Yes\")\nelse:\n print(\"No\")", "a,b,c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "s = sum([a,b,c])", "s", "sum([a,b,c])", "sum", "[a,b,c]", "a", "b", "c", "m = max(a,b,c)", "m", "max(a,b,c)", "max", "a", "b", "c", "if m == (s - m):\n print(\"Yes\")\nelse:\n print(\"No\")", "m == (s - m)", "m", "s - m", "s", "m", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "m = max(a,b,c)", "max(a,b,c)", "m", "b,c = map(int, input().split())", "map(int, input().split())", "b", "s = sum([a,b,c])", "sum([a,b,c])", "s", "c = map(int, input().split())", "map(int, input().split())", "c", "a,b,c = map(int, input().split())", "map(int, input().split())", "a" ]
a,b,c = map(int, input().split()) s = sum([a,b,c]) m = max(a,b,c) if m == (s - m): print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 17, 14, 2, 2, 13, 13, 13, 14, 2, 2, 13, 13, 13, 14, 2, 2, 13, 13, 13, 4, 13, 8, 13, 17, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 47, 2 ], [ 47, 11 ], [ 47, 12 ], [ 50, 14 ], [ 48, 19 ], [ 45, 20 ], [ 42, 21 ], [ 45, 25 ], [ 42, 26 ], [ 48, 27 ], [ 42, 31 ], [ 48, 32 ], [ 45, 33 ], [ 51, 37 ], [ 47, 42 ], [ 47, 45 ], [ 47, 48 ], [ 50, 51 ] ]
[ "a, b, c = map(int, input().split())\njdg = False\nif a + b == c: jdg = True\nif b + c == a: jdg = True\nif c + a == b: jdg = True\nprint( 'Yes' if jdg else 'No')", "a, b, c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "jdg = False", "jdg", "False", "if a + b == c: jdg = True", "a + b == c", "a + b", "a", "b", "c", "if b + c == a: jdg = True", "b + c == a", "b + c", "b", "c", "a", "if c + a == b: jdg = True", "c + a == b", "c + a", "c", "a", "b", "print( 'Yes' if jdg else 'No')", "print", "'Yes' if jdg else 'No'", "jdg", "'Yes'", "'No'", "c = map(int, input().split())", "map(int, input().split())", "c", "b, c = map(int, input().split())", "map(int, input().split())", "b", "a, b, c = map(int, input().split())", "map(int, input().split())", "a", "jdg = False", "False", "jdg" ]
a, b, c = map(int, input().split()) jdg = False if a + b == c: jdg = True if b + c == a: jdg = True if c + a == b: jdg = True print( 'Yes' if jdg else 'No')
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 18, 18, 13, 13, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 2, 17, 17, 0, 13, 17, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 2, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 4, 13, 17, 4, 13, 17, 29, 14, 2, 13, 17, 4, 13, 10, 12, 13, 10, 18, 13, 10, 17, 13, 10, 18, 13, 10, 2, 13, 10, 18, 13 ]
[ [ 94, 4 ], [ 88, 11 ], [ 100, 18 ], [ 97, 32 ], [ 91, 37 ], [ 43, 42 ], [ 89, 49 ], [ 43, 51 ], [ 43, 52 ], [ 42, 58 ], [ 51, 59 ], [ 52, 60 ], [ 42, 63 ], [ 52, 64 ], [ 51, 65 ], [ 51, 68 ], [ 52, 69 ], [ 42, 70 ], [ 86, 83 ], [ 88, 89 ], [ 91, 92 ], [ 94, 95 ], [ 97, 98 ], [ 100, 101 ] ]
[ "import sys\n\nread = sys.stdin.read\nreadline = sys.stdin.readline\nreadlines = sys.stdin.readlines\nsys.setrecursionlimit(10 ** 9)\nINF = 1 << 60\nMOD = 1000000007\n\n\ndef main():\n a, b, c = map(int, readline().split())\n\n if a + b == c or a + c == b or b + c == a:\n print('Yes')\n else:\n print('No')\n\n return\n\n\nif __name__ == '__main__':\n main()", "import sys", "sys", "read = sys.stdin.read", "read", "sys.stdin.read", "sys.stdin", "sys", "stdin", "read", "readline = sys.stdin.readline", "readline", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "readlines = sys.stdin.readlines", "readlines", "sys.stdin.readlines", "sys.stdin", "sys", "stdin", "readlines", "sys.setrecursionlimit(10 ** 9)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10 ** 9", "10", "9", "INF = 1 << 60", "INF", "1 << 60", "1", "60", "MOD = 1000000007", "MOD", "1000000007", "def main():\n a, b, c = map(int, readline().split())\n\n if a + b == c or a + c == b or b + c == a:\n print('Yes')\n else:\n print('No')\n\n return", "main", "a, b, c = map(int, readline().split())", "a", "map(int, readline().split())", "map", "int", "readline().split()", "().split", "()", "readline", "split", "b", "c", "if a + b == c or a + c == b or b + c == a:\n print('Yes')\n else:\n print('No')\n\n ", "a + b == c or a + c == b or b + c == a", "a + b == c or a + c == b", "a + b == c", "a + b", "a", "b", "c", "a + c == b", "a + c", "a", "c", "b", "b + c == a", "b + c", "b", "c", "a", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "return", "if __name__ == '__main__':\n main()", "__name__ == '__main__'", "__name__", "'__main__'", "main()", "main", "def main():\n a, b, c = map(int, readline().split())\n\n if a + b == c or a + c == b or b + c == a:\n print('Yes')\n else:\n print('No')\n\n return", "def main():\n a, b, c = map(int, readline().split())\n\n if a + b == c or a + c == b or b + c == a:\n print('Yes')\n else:\n print('No')\n\n return", "main", "readline = sys.stdin.readline", "sys.stdin.readline", "readline", "MOD = 1000000007", "1000000007", "MOD", "read = sys.stdin.read", "sys.stdin.read", "read", "INF = 1 << 60", "1 << 60", "INF", "readlines = sys.stdin.readlines", "sys.stdin.readlines", "readlines" ]
import sys read = sys.stdin.read readline = sys.stdin.readline readlines = sys.stdin.readlines sys.setrecursionlimit(10 ** 9) INF = 1 << 60 MOD = 1000000007 def main(): a, b, c = map(int, readline().split()) if a + b == c or a + c == b or b + c == a: print('Yes') else: print('No') return if __name__ == '__main__': main()
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 18, 13, 13, 0, 13, 17, 14, 2, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 10, 4, 13 ]
[ [ 33, 2 ], [ 34, 15 ], [ 19, 18 ], [ 34, 23 ], [ 34, 27 ], [ 34, 30 ], [ 33, 34 ] ]
[ "l = list(map(int,input().split()))\nl.sort(reverse=1)\nif l[0] == l[1]+l[2]: print('Yes')\nelse: print('No')", "l = list(map(int,input().split()))", "l", "list(map(int,input().split()))", "list", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l.sort(reverse=1)", "l.sort", "l", "sort", "reverse=1", "reverse", "1", "if l[0] == l[1]+l[2]: print('Yes')\nelse: print('No')", "l[0] == l[1]+l[2]", "l[0]", "l", "0", "l[1]+l[2]", "l[1]", "l", "1", "l[2]", "l", "2", "l = list(map(int,input().split()))", "list(map(int,input().split()))", "l" ]
l = list(map(int,input().split())) l.sort(reverse=1) if l[0] == l[1]+l[2]: print('Yes') else: print('No')
[ 7, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 0, 13, 4, 13, 13, 14, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 37, 14 ], [ 38, 22 ], [ 38, 25 ], [ 38, 28 ], [ 37, 38 ] ]
[ "a=sorted([int(i) for i in input().split()])\nif a[0]+a[1]==a[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "int(i) for i in input().split()", "for i in input().split()", "i", "input().split()", "().split", "()", "input", "split", "for i in input().split()", "int(i)", "int", "i", "a=sorted([int(i) for i in input().split()])", "a", "sorted([int(i) for i in input().split()])", "sorted", "[int(i) for i in input().split()]", "if a[0]+a[1]==a[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "a[0]+a[1]==a[2]", "a[0]+a[1]", "a[0]", "a", "0", "a[1]", "a", "1", "a[2]", "a", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "a=sorted([int(i) for i in input().split()])", "sorted([int(i) for i in input().split()])", "a" ]
a=sorted([int(i) for i in input().split()]) if a[0]+a[1]==a[2]: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 2, 2, 13, 13, 13, 0, 13, 4, 13, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 2, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 49, 2 ], [ 49, 11 ], [ 49, 12 ], [ 40, 14 ], [ 47, 17 ], [ 50, 18 ], [ 44, 19 ], [ 52, 21 ], [ 47, 24 ], [ 50, 25 ], [ 44, 26 ], [ 41, 29 ], [ 53, 31 ], [ 40, 41 ], [ 49, 44 ], [ 49, 47 ], [ 49, 50 ], [ 52, 53 ] ]
[ "a, b, c = map(int, input().split())\n\nadd = a + b + c\nbig = max(a, b, c)\n\nif add == big * 2:\n print(\"Yes\")\n\nelse:\n print(\"No\")", "a, b, c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "add = a + b + c", "add", "a + b + c", "a + b", "a", "b", "c", "big = max(a, b, c)", "big", "max(a, b, c)", "max", "a", "b", "c", "if add == big * 2:\n print(\"Yes\")\n\nelse:\n print(\"No\")", "add == big * 2", "add", "big * 2", "big", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "add = a + b + c", "a + b + c", "add", "c = map(int, input().split())", "map(int, input().split())", "c", "a, b, c = map(int, input().split())", "map(int, input().split())", "a", "b, c = map(int, input().split())", "map(int, input().split())", "b", "big = max(a, b, c)", "max(a, b, c)", "big" ]
a, b, c = map(int, input().split()) add = a + b + c big = max(a, b, c) if add == big * 2: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 17, 13, 13, 8, 2, 13, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 37, 2 ], [ 15, 14 ], [ 37, 16 ], [ 37, 17 ], [ 38, 20 ], [ 35, 22 ], [ 32, 23 ], [ 37, 32 ], [ 37, 35 ], [ 37, 38 ] ]
[ "a,b,c = sorted(map(int,input().split()),reverse=True)\nprint(\"Yes\") if a==b+c else print(\"No\")", "a,b,c = sorted(map(int,input().split()),reverse=True)", "a", "sorted(map(int,input().split()),reverse=True)", "sorted", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "reverse=True", "reverse", "True", "b", "c", "print(\"Yes\") if a==b+c else print(\"No\")", "a==b+c", "a", "b+c", "b", "c", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "c = sorted(map(int,input().split()),reverse=True)", "sorted(map(int,input().split()),reverse=True)", "c", "b,c = sorted(map(int,input().split()),reverse=True)", "sorted(map(int,input().split()),reverse=True)", "b", "a,b,c = sorted(map(int,input().split()),reverse=True)", "sorted(map(int,input().split()),reverse=True)", "a" ]
a,b,c = sorted(map(int,input().split()),reverse=True) print("Yes") if a==b+c else print("No")
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 13, 8, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 17, 17, 10, 4, 13 ]
[ [ 30, 2 ], [ 31, 19 ], [ 31, 22 ], [ 31, 25 ], [ 30, 31 ] ]
[ "i = sorted(map(int, input().split()))\nprint(\"Yes\" if (i[0] + i[1]) == i[2] else \"No\")", "i = sorted(map(int, input().split()))", "i", "sorted(map(int, input().split()))", "sorted", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "print(\"Yes\" if (i[0] + i[1]) == i[2] else \"No\")", "print", "\"Yes\" if (i[0] + i[1]) == i[2] else \"No\"", "(i[0] + i[1]) == i[2]", "i[0] + i[1]", "i[0]", "i", "0", "i[1]", "i", "1", "i[2]", "i", "2", "\"Yes\"", "\"No\"", "i = sorted(map(int, input().split()))", "sorted(map(int, input().split()))", "i" ]
i = sorted(map(int, input().split())) print("Yes" if (i[0] + i[1]) == i[2] else "No")
[ 7, 17, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 18, 13, 13, 14, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 37, 3 ], [ 38, 16 ], [ 38, 22 ], [ 38, 25 ], [ 38, 28 ], [ 37, 38 ] ]
[ "\"\"\"\nABC047 A - キャンディーと2人の子供\nhttps://atcoder.jp/contests/abc047/tasks/abc047_a\n\"\"\"\n\nl = list(map(int, input().split()))\nl.sort()\nif l[0] + l[1] == l[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "\"\"\"\nABC047 A - キャンディーと2人の子供\nhttps://atcoder.jp/contests/abc047/tasks/abc047_a\n\"\"\"", "l = list(map(int, input().split()))", "l", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l.sort()", "l.sort", "l", "sort", "if l[0] + l[1] == l[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "l[0] + l[1] == l[2]", "l[0] + l[1]", "l[0]", "l", "0", "l[1]", "l", "1", "l[2]", "l", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "l = list(map(int, input().split()))", "list(map(int, input().split()))", "l" ]
""" ABC047 A - キャンディーと2人の子供 https://atcoder.jp/contests/abc047/tasks/abc047_a """ l = list(map(int, input().split())) l.sort() if l[0] + l[1] == l[2]: print("Yes") else: print("No")
[ 7, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 17, 14, 2, 13, 2, 13, 13, 0, 13, 17, 14, 2, 13, 2, 13, 13, 0, 13, 17, 14, 2, 13, 2, 13, 13, 0, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 5, 13 ], [ 5, 14 ], [ 17, 16 ], [ 4, 20 ], [ 13, 22 ], [ 14, 23 ], [ 26, 25 ], [ 13, 29 ], [ 4, 31 ], [ 14, 32 ], [ 35, 34 ], [ 14, 38 ], [ 13, 40 ], [ 4, 41 ], [ 44, 43 ], [ 43, 47 ], [ 34, 47 ], [ 25, 47 ], [ 16, 47 ], [ 59, 56 ] ]
[ "def main():\n a, b, c = map(int, input().split())\n\n flag = False\n\n if a == b + c :\n flag = True\n if b == a + c :\n flag = True\n if c == b + a :\n flag = True\n\n if flag == True:\n print(\"Yes\")\n else:\n print(\"No\")\nmain()", "def main():\n a, b, c = map(int, input().split())\n\n flag = False\n\n if a == b + c :\n flag = True\n if b == a + c :\n flag = True\n if c == b + a :\n flag = True\n\n if flag == True:\n print(\"Yes\")\n else:\n print(\"No\")", "main", "a, b, c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "flag = False", "flag", "False", "if a == b + c :\n flag = True\n ", "a == b + c", "a", "b + c", "b", "c", "flag = True", "flag", "True", "if b == a + c :\n flag = True\n ", "b == a + c", "b", "a + c", "a", "c", "flag = True", "flag", "True", "if c == b + a :\n flag = True\n\n ", "c == b + a", "c", "b + a", "b", "a", "flag = True", "flag", "True", "if flag == True:\n print(\"Yes\")\n else:\n print(\"No\")", "flag == True", "flag", "True", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "main()", "main", "def main():\n a, b, c = map(int, input().split())\n\n flag = False\n\n if a == b + c :\n flag = True\n if b == a + c :\n flag = True\n if c == b + a :\n flag = True\n\n if flag == True:\n print(\"Yes\")\n else:\n print(\"No\")", "def main():\n a, b, c = map(int, input().split())\n\n flag = False\n\n if a == b + c :\n flag = True\n if b == a + c :\n flag = True\n if c == b + a :\n flag = True\n\n if flag == True:\n print(\"Yes\")\n else:\n print(\"No\")", "main" ]
def main(): a, b, c = map(int, input().split()) flag = False if a == b + c : flag = True if b == a + c : flag = True if c == b + a : flag = True if flag == True: print("Yes") else: print("No") main()
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 39, 13, 13, 13, 4, 18, 13, 13, 4, 13, 8, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 17, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 39, 13 ]
[ [ 48, 2 ], [ 48, 13 ], [ 48, 14 ], [ 51, 16 ], [ 52, 23 ], [ 52, 31 ], [ 52, 34 ], [ 52, 37 ], [ 48, 43 ], [ 48, 46 ], [ 48, 49 ], [ 51, 52 ] ]
[ "a,b,c = list(map(int,input().split()))\nd = [a,b,c]\nd.sort()\nprint('Yes' if d[0]+d[1]==d[2] else 'No')", "a,b,c = list(map(int,input().split()))", "a", "list(map(int,input().split()))", "list", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "d = [a,b,c]", "d", "[a,b,c]", "a", "b", "c", "d.sort()", "d.sort", "d", "sort", "print('Yes' if d[0]+d[1]==d[2] else 'No')", "print", "'Yes' if d[0]+d[1]==d[2] else 'No'", "d[0]+d[1]==d[2]", "d[0]+d[1]", "d[0]", "d", "0", "d[1]", "d", "1", "d[2]", "d", "2", "'Yes'", "'No'", "a,b,c = list(map(int,input().split()))", "list(map(int,input().split()))", "a", "c = list(map(int,input().split()))", "list(map(int,input().split()))", "c", "b,c = list(map(int,input().split()))", "list(map(int,input().split()))", "b", "d = [a,b,c]", "[a,b,c]", "d" ]
a,b,c = list(map(int,input().split())) d = [a,b,c] d.sort() print('Yes' if d[0]+d[1]==d[2] else 'No')
[ 7, 15, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 12, 2, 4, 13, 13, 17, 23, 0, 13, 12, 4, 13, 31, 13, 0, 13, 17, 23, 12, 13, 12, 13, 12, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 12, 13, 23, 13, 12, 13, 12, 13, 0, 13, 4, 13, 13, 13, 14, 2, 2, 2, 13, 2, 13, 13, 2, 13, 2, 13, 13, 2, 13, 2, 13, 13, 4, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13 ]
[ [ 98, 11 ], [ 92, 20 ], [ 28, 27 ], [ 39, 38 ], [ 87, 44 ], [ 48, 48 ], [ 55, 54 ], [ 90, 56 ], [ 55, 57 ], [ 55, 58 ], [ 54, 63 ], [ 57, 65 ], [ 58, 66 ], [ 57, 68 ], [ 54, 70 ], [ 58, 71 ], [ 58, 73 ], [ 54, 75 ], [ 57, 76 ], [ 81, 78 ], [ 92, 93 ], [ 98, 99 ] ]
[ "import sys\n\nsys.setrecursionlimit(10 ** 6)\nint1 = lambda x: int(x) - 1\np2D = lambda x: print(*x, sep=\"\\n\")\ndef II(): return int(sys.stdin.readline())\ndef MI(): return map(int, sys.stdin.readline().split())\ndef LI(): return list(map(int, sys.stdin.readline().split()))\ndef LLI(rows_number): return [LI() for _ in range(rows_number)]\ndef SI(): return sys.stdin.readline()[:-1]\n\ndef main():\n a,b,c=MI()\n if a==b+c or b==a+c or c==a+b:print(\"Yes\")\n else:print(\"No\")\n\nmain()", "import sys", "sys", "sys.setrecursionlimit(10 ** 6)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10 ** 6", "10", "6", "int1 = lambda x: int(x) - 1", "int1", "lambda x: int(x) - 1", "int(x) - 1", "int(x)", "int", "x", "1", "x", "p2D = lambda x: print(*x, sep=\"\\n\")", "p2D", "lambda x: print(*x, sep=\"\\n\")", "print(*x, sep=\"\\n\")", "print", "*x", "x", "sep=\"\\n\"", "sep", "\"\\n\"", "x", "def II(): return int(sys.stdin.readline())", "II", "def MI(): return map(int, sys.stdin.readline().split())", "MI", "def LI(): return list(map(int, sys.stdin.readline().split()))", "LI", "LI() for _ in range(rows_number)", "for _ in range(rows_number)", "_", "range(rows_number)", "range", "rows_number", "for _ in range(rows_number)", "LI()", "LI", "def LLI(rows_number): return [LI() for _ in range(rows_number)]", "LLI", "rows_number", "rows_number", "def SI(): return sys.stdin.readline()[:-1]", "SI", "def main():\n a,b,c=MI()\n if a==b+c or b==a+c or c==a+b:print(\"Yes\")\n else:print(\"No\")", "main", "a,b,c=MI()", "a", "MI()", "MI", "b", "c", "if a==b+c or b==a+c or c==a+b:print(\"Yes\")\n else:print(\"No\")", "a==b+c or b==a+c or c==a+b", "a==b+c or b==a+c", "a==b+c", "a", "b+c", "b", "c", "b==a+c", "b", "a+c", "a", "c", "c==a+b", "c", "a+b", "a", "b", "main()", "main", "def main():\n a,b,c=MI()\n if a==b+c or b==a+c or c==a+b:print(\"Yes\")\n else:print(\"No\")", "def main():\n a,b,c=MI()\n if a==b+c or b==a+c or c==a+b:print(\"Yes\")\n else:print(\"No\")", "main", "def II(): return int(sys.stdin.readline())", "def II(): return int(sys.stdin.readline())", "II", "def LI(): return list(map(int, sys.stdin.readline().split()))", "def LI(): return list(map(int, sys.stdin.readline().split()))", "LI", "def MI(): return map(int, sys.stdin.readline().split())", "def MI(): return map(int, sys.stdin.readline().split())", "MI", "p2D = lambda x: print(*x, sep=\"\\n\")", "lambda x: print(*x, sep=\"\\n\")", "p2D", "def SI(): return sys.stdin.readline()[:-1]", "def SI(): return sys.stdin.readline()[:-1]", "SI", "int1 = lambda x: int(x) - 1", "lambda x: int(x) - 1", "int1", "def LLI(rows_number): return [LI() for _ in range(rows_number)]", "def LLI(rows_number): return [LI() for _ in range(rows_number)]", "LLI" ]
import sys sys.setrecursionlimit(10 ** 6) int1 = lambda x: int(x) - 1 p2D = lambda x: print(*x, sep="\n") def II(): return int(sys.stdin.readline()) def MI(): return map(int, sys.stdin.readline().split()) def LI(): return list(map(int, sys.stdin.readline().split())) def LLI(rows_number): return [LI() for _ in range(rows_number)] def SI(): return sys.stdin.readline()[:-1] def main(): a,b,c=MI() if a==b+c or b==a+c or c==a+b:print("Yes") else:print("No") main()
[ 7, 0, 13, 4, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 14, 2, 18, 13, 17, 4, 13, 18, 13, 39, 17, 10, 4, 13 ]
[ [ 27, 2 ], [ 28, 18 ], [ 28, 23 ], [ 27, 28 ] ]
[ "a = sorted(list(map(int, input().split())))\nif a[-1] == sum(a[:2]): print('Yes')\nelse: print('No')\n", "a = sorted(list(map(int, input().split())))", "a", "sorted(list(map(int, input().split())))", "sorted", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "if a[-1] == sum(a[:2]): print('Yes')\nelse: print('No')", "a[-1] == sum(a[:2])", "a[-1]", "a", "-1", "sum(a[:2])", "sum", "a[:2]", "a", ":2", "2", "a = sorted(list(map(int, input().split())))", "sorted(list(map(int, input().split())))", "a" ]
a = sorted(list(map(int, input().split()))) if a[-1] == sum(a[:2]): print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 39, 13, 13, 13, 0, 13, 17, 14, 2, 4, 13, 18, 13, 39, 17, 18, 13, 17, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 48, 2 ], [ 48, 11 ], [ 48, 12 ], [ 51, 14 ], [ 57, 22 ], [ 52, 29 ], [ 52, 33 ], [ 54, 36 ], [ 55, 40 ], [ 58, 40 ], [ 48, 43 ], [ 48, 46 ], [ 48, 49 ], [ 51, 52 ], [ 54, 55 ], [ 57, 58 ] ]
[ "a, b, c = map(int, input().split())\n\nli = sorted([a, b, c])\nans = 'No'\nif sum(li[:2])==li[2]:\n ans ='Yes'\nprint(ans)", "a, b, c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "li = sorted([a, b, c])", "li", "sorted([a, b, c])", "sorted", "[a, b, c]", "a", "b", "c", "ans = 'No'", "ans", "'No'", "if sum(li[:2])==li[2]:\n ans ='Yes'", "sum(li[:2])==li[2]", "sum(li[:2])", "sum", "li[:2]", "li", ":2", "2", "li[2]", "li", "2", "ans ='Yes'", "ans", "'Yes'", "print(ans)", "print", "ans", "a, b, c = map(int, input().split())", "map(int, input().split())", "a", "b, c = map(int, input().split())", "map(int, input().split())", "b", "c = map(int, input().split())", "map(int, input().split())", "c", "li = sorted([a, b, c])", "sorted([a, b, c])", "li", "ans ='Yes'", "'Yes'", "ans", "ans = 'No'", "'No'", "ans" ]
a, b, c = map(int, input().split()) li = sorted([a, b, c]) ans = 'No' if sum(li[:2])==li[2]: ans ='Yes' print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 39, 13, 13, 13, 0, 13, 4, 13, 13, 14, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 55, 2 ], [ 55, 11 ], [ 55, 12 ], [ 46, 14 ], [ 43, 20 ], [ 47, 23 ], [ 44, 28 ], [ 44, 31 ], [ 44, 34 ], [ 43, 44 ], [ 46, 47 ], [ 55, 50 ], [ 55, 53 ], [ 55, 56 ] ]
[ "a,b,c=map(int,input().split())\nx=[a,b,c]\ny=sorted(x)\nif (y[0]+y[1])==y[2]:\n print('Yes')\nelse:\n print('No')", "a,b,c=map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "x=[a,b,c]", "x", "[a,b,c]", "a", "b", "c", "y=sorted(x)", "y", "sorted(x)", "sorted", "x", "if (y[0]+y[1])==y[2]:\n print('Yes')\nelse:\n print('No')", "(y[0]+y[1])==y[2]", "y[0]+y[1]", "y[0]", "y", "0", "y[1]", "y", "1", "y[2]", "y", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "y=sorted(x)", "sorted(x)", "y", "x=[a,b,c]", "[a,b,c]", "x", "a,b,c=map(int,input().split())", "map(int,input().split())", "a", "b,c=map(int,input().split())", "map(int,input().split())", "b", "c=map(int,input().split())", "map(int,input().split())", "c" ]
a,b,c=map(int,input().split()) x=[a,b,c] y=sorted(x) if (y[0]+y[1])==y[2]: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 17, 0, 13, 17, 0, 13, 17, 28, 13, 13, 14, 2, 13, 13, 0, 13, 13, 28, 13, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 13, 13, 10, 17, 13, 10, 17, 13, 10, 2, 13, 10, 4, 13, 10, 17, 13, 10, 2, 13 ]
[ [ 68, 2 ], [ 71, 14 ], [ 62, 17 ], [ 59, 20 ], [ 24, 23 ], [ 69, 23 ], [ 72, 27 ], [ 57, 27 ], [ 23, 28 ], [ 56, 30 ], [ 23, 31 ], [ 34, 33 ], [ 69, 33 ], [ 74, 36 ], [ 63, 38 ], [ 75, 38 ], [ 33, 39 ], [ 65, 41 ], [ 75, 43 ], [ 63, 43 ], [ 57, 44 ], [ 72, 44 ], [ 57, 47 ], [ 72, 47 ], [ 66, 48 ], [ 60, 48 ], [ 23, 56 ], [ 56, 57 ], [ 59, 60 ], [ 62, 63 ], [ 65, 66 ], [ 68, 69 ], [ 71, 72 ], [ 74, 75 ] ]
[ "a=list(map(int,input().split()))\nmax=-1000000\ni=0\nrit=0\nfor x in a:\n if max<x:\n max=x\nfor x in a:\n i=i+x\nrit=i-max\nif max==rit:\n print('Yes')\nelse:\n print('No')", "a=list(map(int,input().split()))", "a", "list(map(int,input().split()))", "list", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "max=-1000000", "max", "-1000000", "i=0", "i", "0", "rit=0", "rit", "0", "for x in a:\n if max<x:\n max=x", "x", "a", "if max<x:\n max=x", "max<x", "max", "x", "max=x", "max", "x", "for x in a:\n i=i+x", "x", "a", "i=i+x", "i", "i+x", "i", "x", "rit=i-max", "rit", "i-max", "i", "max", "if max==rit:\n print('Yes')\nelse:\n print('No')", "max==rit", "max", "rit", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "max=x", "x", "max", "rit=0", "0", "rit", "i=0", "0", "i", "rit=i-max", "i-max", "rit", "a=list(map(int,input().split()))", "list(map(int,input().split()))", "a", "max=-1000000", "-1000000", "max", "i=i+x", "i+x", "i" ]
a=list(map(int,input().split())) max=-1000000 i=0 rit=0 for x in a: if max<x: max=x for x in a: i=i+x rit=i-max if max==rit: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 2, 13, 13, 13, 4, 13, 17, 14, 2, 13, 2, 13, 13, 4, 13, 17, 14, 2, 2, 13, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 50, 2 ], [ 50, 11 ], [ 50, 12 ], [ 48, 16 ], [ 51, 17 ], [ 45, 18 ], [ 48, 24 ], [ 51, 26 ], [ 45, 27 ], [ 48, 34 ], [ 45, 35 ], [ 51, 36 ], [ 50, 45 ], [ 50, 48 ], [ 50, 51 ] ]
[ "a,b,c = map(int,input().split())\n\nif a+b == c:\n print(\"Yes\")\nelif a == b+c:\n print(\"Yes\")\nelif a+c == b:\n print(\"Yes\")\nelse:\n print(\"No\")", "a,b,c = map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "if a+b == c:\n print(\"Yes\")\nelif a == b+c:\n print(\"Yes\")\nelif a+c == b:\n print(\"Yes\")\nelse:\n print(\"No\")", "a+b == c", "a+b", "a", "b", "c", "print(\"Yes\")", "print", "\"Yes\"", "elif a == b+c:\n print(\"Yes\")", "a == b+c", "a", "b+c", "b", "c", "print(\"Yes\")", "print", "\"Yes\"", "elif a+c == b:\n print(\"Yes\")", "a+c == b", "a+c", "a", "c", "b", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "c = map(int,input().split())", "map(int,input().split())", "c", "a,b,c = map(int,input().split())", "map(int,input().split())", "a", "b,c = map(int,input().split())", "map(int,input().split())", "b" ]
a,b,c = map(int,input().split()) if a+b == c: print("Yes") elif a == b+c: print("Yes") elif a+c == b: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 2, 17, 4, 13, 39, 13, 13, 13, 4, 13, 39, 13, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 42, 11 ], [ 42, 12 ], [ 42, 37 ], [ 42, 40 ], [ 42, 43 ] ]
[ "a,b,c = map(int, input().split())\nif 2*max([a,b,c]) == sum([a,b,c]):\n print('Yes')\nelse:\n print('No')", "a,b,c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "if 2*max([a,b,c]) == sum([a,b,c]):\n print('Yes')\nelse:\n print('No')", "2*max([a,b,c]) == sum([a,b,c])", "2*max([a,b,c])", "2", "max([a,b,c])", "max", "[a,b,c]", "a", "b", "c", "sum([a,b,c])", "sum", "[a,b,c]", "a", "b", "c", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "a,b,c = map(int, input().split())", "map(int, input().split())", "a", "c = map(int, input().split())", "map(int, input().split())", "c", "b,c = map(int, input().split())", "map(int, input().split())", "b" ]
a,b,c = map(int, input().split()) if 2*max([a,b,c]) == sum([a,b,c]): print('Yes') else: print('No')
[ 7, 15, 13, 12, 13, 12, 13, 12, 13, 0, 13, 4, 13, 4, 13, 14, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 12, 13, 10, 12, 13, 10, 4, 13, 10, 12, 13 ]
[ [ 40, 10 ], [ 44, 14 ], [ 41, 19 ], [ 41, 22 ], [ 41, 25 ], [ 40, 41 ] ]
[ "import sys\ndef input(): return sys.stdin.readline().strip()\ndef mp(): return map(int,input().split())\ndef lmp(): return list(map(int,input().split()))\n\nl=sorted(lmp())\nif l[0]+l[1]==l[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "import sys", "sys", "def input(): return sys.stdin.readline().strip()", "input", "def mp(): return map(int,input().split())", "mp", "def lmp(): return list(map(int,input().split()))", "lmp", "l=sorted(lmp())", "l", "sorted(lmp())", "sorted", "lmp()", "lmp", "if l[0]+l[1]==l[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "l[0]+l[1]==l[2]", "l[0]+l[1]", "l[0]", "l", "0", "l[1]", "l", "1", "l[2]", "l", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "def input(): return sys.stdin.readline().strip()", "def input(): return sys.stdin.readline().strip()", "input", "def mp(): return map(int,input().split())", "def mp(): return map(int,input().split())", "mp", "l=sorted(lmp())", "sorted(lmp())", "l", "def lmp(): return list(map(int,input().split()))", "def lmp(): return list(map(int,input().split()))", "lmp" ]
import sys def input(): return sys.stdin.readline().strip() def mp(): return map(int,input().split()) def lmp(): return list(map(int,input().split())) l=sorted(lmp()) if l[0]+l[1]==l[2]: print("Yes") else: print("No")
[ 7, 15, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 2, 2, 13, 2, 13, 13, 2, 13, 2, 13, 13, 2, 13, 2, 13, 13, 0, 13, 17, 0, 13, 17, 4, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 6, 5 ], [ 6, 14 ], [ 6, 15 ], [ 5, 20 ], [ 14, 22 ], [ 15, 23 ], [ 14, 25 ], [ 5, 27 ], [ 15, 28 ], [ 15, 30 ], [ 5, 32 ], [ 14, 33 ], [ 36, 35 ], [ 39, 38 ], [ 38, 42 ], [ 35, 42 ], [ 51, 48 ] ]
[ "from itertools import combinations as comb\n\n\ndef main():\n a, b, c = map(int, input().split())\n if a == (b+c) or b == (a+c) or c == (a+b):\n ans = 'Yes'\n else:\n ans = \"No\"\n print(ans)\n\n\nif __name__ == \"__main__\":\n main()", "from itertools import combinations as comb", "def main():\n a, b, c = map(int, input().split())\n if a == (b+c) or b == (a+c) or c == (a+b):\n ans = 'Yes'\n else:\n ans = \"No\"\n print(ans)", "main", "a, b, c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "if a == (b+c) or b == (a+c) or c == (a+b):\n ans = 'Yes'\n else:\n ans = \"No\"\n ", "a == (b+c) or b == (a+c) or c == (a+b)", "a == (b+c) or b == (a+c)", "a == (b+c)", "a", "b+c", "b", "c", "b == (a+c)", "b", "a+c", "a", "c", "c == (a+b)", "c", "a+b", "a", "b", "ans = 'Yes'", "ans", "'Yes'", "ans = \"No\"", "ans", "\"No\"", "print(ans)", "print", "ans", "if __name__ == \"__main__\":\n main()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "main()", "main", "def main():\n a, b, c = map(int, input().split())\n if a == (b+c) or b == (a+c) or c == (a+b):\n ans = 'Yes'\n else:\n ans = \"No\"\n print(ans)", "def main():\n a, b, c = map(int, input().split())\n if a == (b+c) or b == (a+c) or c == (a+b):\n ans = 'Yes'\n else:\n ans = \"No\"\n print(ans)", "main" ]
from itertools import combinations as comb def main(): a, b, c = map(int, input().split()) if a == (b+c) or b == (a+c) or c == (a+b): ans = 'Yes' else: ans = "No" print(ans) if __name__ == "__main__": main()
[ 7, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 0, 13, 13, 0, 13, 4, 13, 13, 14, 2, 2, 4, 13, 13, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 13, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 39, 14 ], [ 36, 17 ], [ 40, 20 ], [ 40, 26 ], [ 37, 27 ], [ 37, 28 ], [ 36, 37 ], [ 39, 40 ] ]
[ "l=[int(x) for x in input().split()]\n\na=max(l)\nif (sum(l)-a)==a:\n\tprint(\"Yes\")\nelse:\n\tprint(\"No\")", "int(x) for x in input().split()", "for x in input().split()", "x", "input().split()", "().split", "()", "input", "split", "for x in input().split()", "int(x)", "int", "x", "l=[int(x) for x in input().split()]", "l", "[int(x) for x in input().split()]", "a=max(l)", "a", "max(l)", "max", "l", "if (sum(l)-a)==a:\n\tprint(\"Yes\")\nelse:\n\tprint(\"No\")", "(sum(l)-a)==a", "sum(l)-a", "sum(l)", "sum", "l", "a", "a", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "a=max(l)", "max(l)", "a", "l=[int(x) for x in input().split()]", "[int(x) for x in input().split()]", "l" ]
l=[int(x) for x in input().split()] a=max(l) if (sum(l)-a)==a: print("Yes") else: print("No")
[ 7, 12, 13, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 0, 13, 13, 4, 18, 13, 13, 4, 13, 8, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 17, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 6, 5 ], [ 5, 14 ], [ 17, 16 ], [ 16, 20 ], [ 16, 28 ], [ 16, 31 ], [ 16, 34 ], [ 46, 43 ] ]
[ "def main():\n candy = [int(cn) for cn in input().split()]\n candy.sort()\n print('Yes' if candy[0] + candy[1] == candy[2] else 'No')\n\n\nif __name__ == '__main__':\n main()", "def main():\n candy = [int(cn) for cn in input().split()]\n candy.sort()\n print('Yes' if candy[0] + candy[1] == candy[2] else 'No')", "main", "int(cn) for cn in input().split()", "for cn in input().split()", "cn", "input().split()", "().split", "()", "input", "split", "for cn in input().split()", "int(cn)", "int", "cn", "candy = [int(cn) for cn in input().split()]", "candy", "[int(cn) for cn in input().split()]", "candy.sort()", "candy.sort", "candy", "sort", "print('Yes' if candy[0] + candy[1] == candy[2] else 'No')", "print", "'Yes' if candy[0] + candy[1] == candy[2] else 'No'", "candy[0] + candy[1] == candy[2]", "candy[0] + candy[1]", "candy[0]", "candy", "0", "candy[1]", "candy", "1", "candy[2]", "candy", "2", "'Yes'", "'No'", "if __name__ == '__main__':\n main()", "__name__ == '__main__'", "__name__", "'__main__'", "main()", "main", "def main():\n candy = [int(cn) for cn in input().split()]\n candy.sort()\n print('Yes' if candy[0] + candy[1] == candy[2] else 'No')", "def main():\n candy = [int(cn) for cn in input().split()]\n candy.sort()\n print('Yes' if candy[0] + candy[1] == candy[2] else 'No')", "main" ]
def main(): candy = [int(cn) for cn in input().split()] candy.sort() print('Yes' if candy[0] + candy[1] == candy[2] else 'No') if __name__ == '__main__': main()
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 39, 28, 13, 4, 13, 17, 17, 28, 13, 4, 13, 17, 17, 14, 2, 13, 13, 0, 13, 2, 18, 13, 13, 18, 13, 13, 4, 18, 13, 13, 13, 14, 2, 2, 2, 18, 13, 17, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 2, 13, 10, 39, 13, 10, 4, 13 ]
[ [ 83, 2 ], [ 80, 14 ], [ 18, 17 ], [ 24, 23 ], [ 23, 30 ], [ 17, 31 ], [ 77, 33 ], [ 84, 36 ], [ 17, 37 ], [ 84, 39 ], [ 23, 40 ], [ 81, 43 ], [ 78, 45 ], [ 81, 51 ], [ 84, 54 ], [ 81, 58 ], [ 84, 61 ], [ 81, 65 ], [ 84, 68 ], [ 77, 78 ], [ 80, 81 ], [ 83, 84 ] ]
[ "A = list(map(int,input().split()))\nB = []\n\nfor i in range(0,3):\n for j in range(0,3):\n if j>i:\n temp = A[i] + A[j]\n B.append(temp)\n \nif B[0] == A[2] or B[1] == A[1] or B[2] == A[0]:\n print('Yes')\nelse:\n print('No')", "A = list(map(int,input().split()))", "A", "list(map(int,input().split()))", "list", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "B = []", "B", "[]", "for i in range(0,3):\n for j in range(0,3):\n if j>i:\n temp = A[i] + A[j]\n B.append(temp)\n ", "i", "range(0,3)", "range", "0", "3", "for j in range(0,3):\n if j>i:\n temp = A[i] + A[j]\n B.append(temp)\n ", "j", "range(0,3)", "range", "0", "3", "if j>i:\n temp = A[i] + A[j]\n B.append(temp)\n ", "j>i", "j", "i", "temp = A[i] + A[j]", "temp", "A[i] + A[j]", "A[i]", "A", "i", "A[j]", "A", "j", "B.append(temp)", "B.append", "B", "append", "temp", "if B[0] == A[2] or B[1] == A[1] or B[2] == A[0]:\n print('Yes')\nelse:\n print('No')", "B[0] == A[2] or B[1] == A[1] or B[2] == A[0]", "B[0] == A[2] or B[1] == A[1]", "B[0] == A[2]", "B[0]", "B", "0", "A[2]", "A", "2", "B[1] == A[1]", "B[1]", "B", "1", "A[1]", "A", "1", "B[2] == A[0]", "B[2]", "B", "2", "A[0]", "A", "0", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "temp = A[i] + A[j]", "A[i] + A[j]", "temp", "B = []", "[]", "B", "A = list(map(int,input().split()))", "list(map(int,input().split()))", "A" ]
A = list(map(int,input().split())) B = [] for i in range(0,3): for j in range(0,3): if j>i: temp = A[i] + A[j] B.append(temp) if B[0] == A[2] or B[1] == A[1] or B[2] == A[0]: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 4, 13, 8, 2, 2, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 17, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 42, 11 ], [ 42, 12 ], [ 40, 20 ], [ 43, 21 ], [ 37, 22 ], [ 40, 25 ], [ 37, 26 ], [ 43, 27 ], [ 43, 30 ], [ 37, 31 ], [ 40, 32 ], [ 42, 37 ], [ 42, 40 ], [ 42, 43 ] ]
[ "a,b,c=map(int,input().split())\nprint(\"Yes\" if a+b==c or a+c==b or b+c==a else \"No\")", "a,b,c=map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "print(\"Yes\" if a+b==c or a+c==b or b+c==a else \"No\")", "print", "\"Yes\" if a+b==c or a+c==b or b+c==a else \"No\"", "a+b==c or a+c==b or b+c==a", "a+b==c or a+c==b", "a+b==c", "a+b", "a", "b", "c", "a+c==b", "a+c", "a", "c", "b", "b+c==a", "b+c", "b", "c", "a", "\"Yes\"", "\"No\"", "c=map(int,input().split())", "map(int,input().split())", "c", "a,b,c=map(int,input().split())", "map(int,input().split())", "a", "b,c=map(int,input().split())", "map(int,input().split())", "b" ]
a,b,c=map(int,input().split()) print("Yes" if a+b==c or a+c==b or b+c==a else "No")
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 2, 13, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 34, 2 ], [ 34, 13 ], [ 34, 14 ], [ 32, 18 ], [ 35, 19 ], [ 29, 20 ], [ 34, 29 ], [ 34, 32 ], [ 34, 35 ] ]
[ "a,b,c = sorted(map(int,input().split()))\nif a+b==c:\n print(\"Yes\")\nelse:\n print(\"No\")", "a,b,c = sorted(map(int,input().split()))", "a", "sorted(map(int,input().split()))", "sorted", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "if a+b==c:\n print(\"Yes\")\nelse:\n print(\"No\")", "a+b==c", "a+b", "a", "b", "c", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "c = sorted(map(int,input().split()))", "sorted(map(int,input().split()))", "c", "a,b,c = sorted(map(int,input().split()))", "sorted(map(int,input().split()))", "a", "b,c = sorted(map(int,input().split()))", "sorted(map(int,input().split()))", "b" ]
a,b,c = sorted(map(int,input().split())) if a+b==c: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 2, 2, 2, 13, 13, 13, 17, 0, 13, 2, 2, 2, 13, 13, 13, 17, 14, 40, 13, 17, 4, 13, 17, 4, 13, 14, 2, 2, 2, 13, 13, 2, 13, 13, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 2, 13, 10, 4, 13, 10, 2, 13, 10, 4, 13 ]
[ [ 71, 2 ], [ 71, 11 ], [ 71, 12 ], [ 62, 14 ], [ 60, 18 ], [ 66, 19 ], [ 72, 20 ], [ 68, 23 ], [ 60, 27 ], [ 66, 28 ], [ 72, 29 ], [ 69, 33 ], [ 63, 44 ], [ 60, 45 ], [ 63, 47 ], [ 66, 48 ], [ 63, 50 ], [ 72, 51 ], [ 71, 60 ], [ 62, 63 ], [ 71, 66 ], [ 68, 69 ], [ 71, 72 ] ]
[ "a, b, c = map(int, input().split())\n\nh = (a + b + c) // 2\nA = (a + b + c) % 2\n\nif A != 0:\n print(\"No\")\n exit()\n\nif h == a or h == b or h == c:\n print(\"Yes\")\nelse:\n print(\"No\")", "a, b, c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "h = (a + b + c) // 2", "h", "(a + b + c) // 2", "a + b + c", "a + b", "a", "b", "c", "2", "A = (a + b + c) % 2", "A", "(a + b + c) % 2", "a + b + c", "a + b", "a", "b", "c", "2", "if A != 0:\n print(\"No\")\n exit()", "A != 0", "A", "0", "print(\"No\")", "print", "\"No\"", "exit()", "exit", "if h == a or h == b or h == c:\n print(\"Yes\")\nelse:\n print(\"No\")", "h == a or h == b or h == c", "h == a or h == b", "h == a", "h", "a", "h == b", "h", "b", "h == c", "h", "c", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "a, b, c = map(int, input().split())", "map(int, input().split())", "a", "h = (a + b + c) // 2", "(a + b + c) // 2", "h", "b, c = map(int, input().split())", "map(int, input().split())", "b", "A = (a + b + c) % 2", "(a + b + c) % 2", "A", "c = map(int, input().split())", "map(int, input().split())", "c" ]
a, b, c = map(int, input().split()) h = (a + b + c) // 2 A = (a + b + c) % 2 if A != 0: print("No") exit() if h == a or h == b or h == c: print("Yes") else: print("No")
[ 7, 15, 13, 15, 15, 13, 6, 13, 12, 13, 0, 13, 18, 13, 13, 13, 18, 13, 13, 0, 18, 13, 13, 4, 13, 18, 13, 13, 4, 13, 13, 4, 13, 4, 18, 18, 13, 13, 13, 17, 0, 13, 18, 4, 18, 18, 13, 13, 13, 39, 17, 0, 18, 13, 13, 13, 18, 13, 13, 13, 4, 18, 13, 13, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 0, 13, 17, 0, 13, 17, 4, 18, 13, 13, 13, 13, 23, 13, 12, 13, 0, 13, 17, 0, 13, 17, 4, 18, 13, 13, 13, 13, 23, 13, 12, 13, 0, 13, 17, 0, 13, 17, 4, 18, 13, 13, 13, 13, 23, 13, 18, 13, 13, 12, 13, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 18, 13, 13, 14, 2, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 6, 13, 10, 12, 13 ]
[ [ 12, 11 ], [ 16, 15 ], [ 23, 20 ], [ 11, 22 ], [ 28, 25 ], [ 15, 27 ], [ 69, 30 ], [ 20, 35 ], [ 11, 37 ], [ 42, 41 ], [ 20, 45 ], [ 11, 47 ], [ 55, 52 ], [ 11, 54 ], [ 11, 55 ], [ 59, 56 ], [ 15, 58 ], [ 15, 59 ], [ 67, 62 ], [ 41, 64 ], [ 71, 65 ], [ 67, 67 ], [ 69, 69 ], [ 71, 71 ], [ 76, 75 ], [ 79, 78 ], [ 87, 82 ], [ 9, 83 ], [ 75, 84 ], [ 78, 85 ], [ 87, 87 ], [ 92, 91 ], [ 95, 94 ], [ 103, 98 ], [ 9, 99 ], [ 91, 100 ], [ 94, 101 ], [ 103, 103 ], [ 108, 107 ], [ 111, 110 ], [ 119, 114 ], [ 9, 115 ], [ 107, 116 ], [ 110, 117 ], [ 119, 119 ], [ 127, 126 ], [ 126, 139 ], [ 126, 144 ], [ 126, 148 ], [ 126, 151 ], [ 170, 164 ] ]
[ "#\n# abc047 a\n#\n\nimport sys\nfrom io import StringIO\nimport unittest\n\n\nclass TestClass(unittest.TestCase):\n def assertIO(self, input, output):\n stdout, stdin = sys.stdout, sys.stdin\n sys.stdout, sys.stdin = StringIO(), StringIO(input)\n resolve()\n sys.stdout.seek(0)\n out = sys.stdout.read()[:-1]\n sys.stdout, sys.stdin = stdout, stdin\n self.assertEqual(out, output)\n\n def test_入力例_1(self):\n input = \"\"\"10 30 20\"\"\"\n output = \"\"\"Yes\"\"\"\n self.assertIO(input, output)\n\n def test_入力例_2(self):\n input = \"\"\"30 30 100\"\"\"\n output = \"\"\"No\"\"\"\n self.assertIO(input, output)\n\n def test_入力例_3(self):\n input = \"\"\"56 25 31\"\"\"\n output = \"\"\"Yes\"\"\"\n self.assertIO(input, output)\n\n\ndef resolve():\n C = list(map(int, input().split()))\n C.sort()\n\n if C[2] == C[0] + C[1]:\n print(\"Yes\")\n else:\n print(\"No\")\n\n\nif __name__ == \"__main__\":\n # unittest.main()\n resolve()", "import sys", "sys", "from io import StringIO", "import unittest", "unittest", "class TestClass(unittest.TestCase):\n def assertIO(self, input, output):\n stdout, stdin = sys.stdout, sys.stdin\n sys.stdout, sys.stdin = StringIO(), StringIO(input)\n resolve()\n sys.stdout.seek(0)\n out = sys.stdout.read()[:-1]\n sys.stdout, sys.stdin = stdout, stdin\n self.assertEqual(out, output)\n\n def test_入力例_1(self):\n input = \"\"\"10 30 20\"\"\"\n output = \"\"\"Yes\"\"\"\n self.assertIO(input, output)\n\n def test_入力例_2(self):\n input = \"\"\"30 30 100\"\"\"\n output = \"\"\"No\"\"\"\n self.assertIO(input, output)\n\n def test_入力例_3(self):\n input = \"\"\"56 25 31\"\"\"\n output = \"\"\"Yes\"\"\"\n self.assertIO(input, output)", "TestClass", "def assertIO(self, input, output):\n stdout, stdin = sys.stdout, sys.stdin\n sys.stdout, sys.stdin = StringIO(), StringIO(input)\n resolve()\n sys.stdout.seek(0)\n out = sys.stdout.read()[:-1]\n sys.stdout, sys.stdin = stdout, stdin\n self.assertEqual(out, output)\n\n ", "assertIO", "stdout, stdin = sys.stdout, sys.stdin", "stdout", "sys.stdout", "sys", "stdout", "stdin", "sys.stdin", "sys", "stdin", "sys.stdout, sys.stdin = StringIO(), StringIO(input)", "sys.stdout", "sys", "stdout", "StringIO()", "StringIO", "sys.stdin", "sys", "stdin", "StringIO(input)", "StringIO", "input", "resolve()", "resolve", "sys.stdout.seek(0)", "sys.stdout.seek", "sys.stdout", "sys", "stdout", "seek", "0", "out = sys.stdout.read()[:-1]", "out", "sys.stdout.read()[:-1]", "sys.stdout.read()", "sys.stdout.read", "sys.stdout", "sys", "stdout", "read", ":-1", "-1", "sys.stdout, sys.stdin = stdout, stdin", "sys.stdout", "sys", "stdout", "stdout", "sys.stdin", "sys", "stdin", "stdin", "self.assertEqual(out, output)", "self.assertEqual", "self", "assertEqual", "out", "output", "self", "self", "input", "input", "output", "output", "def test_入力例_1(self):\n input = \"\"\"10 30 20\"\"\"\n output = \"\"\"Yes\"\"\"\n self.assertIO(input, output)\n\n ", "test_入力例_1", "input = \"\"\"10 30 20\"\"\"", "input", "\"\"\"10 30 20\"\"\"", "output = \"\"\"Yes\"\"\"", "output", "\"\"\"Yes\"\"\"", "self.assertIO(input, output)", "self.assertIO", "self", "assertIO", "input", "output", "self", "self", "def test_入力例_2(self):\n input = \"\"\"30 30 100\"\"\"\n output = \"\"\"No\"\"\"\n self.assertIO(input, output)\n\n ", "test_入力例_2", "input = \"\"\"30 30 100\"\"\"", "input", "\"\"\"30 30 100\"\"\"", "output = \"\"\"No\"\"\"", "output", "\"\"\"No\"\"\"", "self.assertIO(input, output)", "self.assertIO", "self", "assertIO", "input", "output", "self", "self", "def test_入力例_3(self):\n input = \"\"\"56 25 31\"\"\"\n output = \"\"\"Yes\"\"\"\n self.assertIO(input, output)", "test_入力例_3", "input = \"\"\"56 25 31\"\"\"", "input", "\"\"\"56 25 31\"\"\"", "output = \"\"\"Yes\"\"\"", "output", "\"\"\"Yes\"\"\"", "self.assertIO(input, output)", "self.assertIO", "self", "assertIO", "input", "output", "self", "self", "unittest.TestCase", "unittest", "TestCase", "def resolve():\n C = list(map(int, input().split()))\n C.sort()\n\n if C[2] == C[0] + C[1]:\n print(\"Yes\")\n else:\n print(\"No\")", "resolve", "C = list(map(int, input().split()))", "C", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "C.sort()", "C.sort", "C", "sort", "if C[2] == C[0] + C[1]:\n print(\"Yes\")\n else:\n print(\"No\")", "C[2] == C[0] + C[1]", "C[2]", "C", "2", "C[0] + C[1]", "C[0]", "C", "0", "C[1]", "C", "1", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "if __name__ == \"__main__\":\n # unittest.main()\n resolve()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "resolve()", "resolve", "class TestClass(unittest.TestCase):\n def assertIO(self, input, output):\n stdout, stdin = sys.stdout, sys.stdin\n sys.stdout, sys.stdin = StringIO(), StringIO(input)\n resolve()\n sys.stdout.seek(0)\n out = sys.stdout.read()[:-1]\n sys.stdout, sys.stdin = stdout, stdin\n self.assertEqual(out, output)\n\n def test_入力例_1(self):\n input = \"\"\"10 30 20\"\"\"\n output = \"\"\"Yes\"\"\"\n self.assertIO(input, output)\n\n def test_入力例_2(self):\n input = \"\"\"30 30 100\"\"\"\n output = \"\"\"No\"\"\"\n self.assertIO(input, output)\n\n def test_入力例_3(self):\n input = \"\"\"56 25 31\"\"\"\n output = \"\"\"Yes\"\"\"\n self.assertIO(input, output)", "class TestClass(unittest.TestCase):\n def assertIO(self, input, output):\n stdout, stdin = sys.stdout, sys.stdin\n sys.stdout, sys.stdin = StringIO(), StringIO(input)\n resolve()\n sys.stdout.seek(0)\n out = sys.stdout.read()[:-1]\n sys.stdout, sys.stdin = stdout, stdin\n self.assertEqual(out, output)\n\n def test_入力例_1(self):\n input = \"\"\"10 30 20\"\"\"\n output = \"\"\"Yes\"\"\"\n self.assertIO(input, output)\n\n def test_入力例_2(self):\n input = \"\"\"30 30 100\"\"\"\n output = \"\"\"No\"\"\"\n self.assertIO(input, output)\n\n def test_入力例_3(self):\n input = \"\"\"56 25 31\"\"\"\n output = \"\"\"Yes\"\"\"\n self.assertIO(input, output)", "TestClass", "def resolve():\n C = list(map(int, input().split()))\n C.sort()\n\n if C[2] == C[0] + C[1]:\n print(\"Yes\")\n else:\n print(\"No\")", "def resolve():\n C = list(map(int, input().split()))\n C.sort()\n\n if C[2] == C[0] + C[1]:\n print(\"Yes\")\n else:\n print(\"No\")", "resolve" ]
# # abc047 a # import sys from io import StringIO import unittest class TestClass(unittest.TestCase): def assertIO(self, input, output): stdout, stdin = sys.stdout, sys.stdin sys.stdout, sys.stdin = StringIO(), StringIO(input) resolve() sys.stdout.seek(0) out = sys.stdout.read()[:-1] sys.stdout, sys.stdin = stdout, stdin self.assertEqual(out, output) def test_入力例_1(self): input = """10 30 20""" output = """Yes""" self.assertIO(input, output) def test_入力例_2(self): input = """30 30 100""" output = """No""" self.assertIO(input, output) def test_入力例_3(self): input = """56 25 31""" output = """Yes""" self.assertIO(input, output) def resolve(): C = list(map(int, input().split())) C.sort() if C[2] == C[0] + C[1]: print("Yes") else: print("No") if __name__ == "__main__": # unittest.main() resolve()
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 4, 13, 18, 39, 17, 17, 2, 4, 13, 13, 13, 13, 2, 2, 2, 13, 13, 13, 4, 13, 13, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 43, 2 ], [ 43, 11 ], [ 43, 12 ], [ 38, 22 ], [ 44, 23 ], [ 41, 24 ], [ 38, 28 ], [ 44, 29 ], [ 41, 30 ], [ 38, 33 ], [ 44, 34 ], [ 41, 35 ], [ 43, 38 ], [ 43, 41 ], [ 43, 44 ] ]
[ "a,b,c=map(int,input().split());print(['No','Yes'][max(a,b,c)==((a+b+c)-max(a,b,c))])", "a,b,c=map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "print(['No','Yes'][max(a,b,c)==((a+b+c)-max(a,b,c))])", "print", "['No','Yes'][max(a,b,c)==((a+b+c)-max(a,b,c))]", "['No','Yes']", "'No'", "'Yes'", "max(a,b,c)==((a+b+c)-max(a,b,c))", "max(a,b,c)", "max", "a", "b", "c", "(a+b+c)-max(a,b,c)", "a+b+c", "a+b", "a", "b", "c", "max(a,b,c)", "max", "a", "b", "c", "a,b,c=map(int,input().split())", "map(int,input().split())", "a", "c=map(int,input().split())", "map(int,input().split())", "c", "b,c=map(int,input().split())", "map(int,input().split())", "b" ]
a,b,c=map(int,input().split());print(['No','Yes'][max(a,b,c)==((a+b+c)-max(a,b,c))])
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 4, 13, 13, 13, 13, 2, 2, 2, 13, 13, 13, 4, 13, 13, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 44, 2 ], [ 44, 11 ], [ 44, 12 ], [ 42, 17 ], [ 45, 18 ], [ 39, 19 ], [ 42, 23 ], [ 45, 24 ], [ 39, 25 ], [ 42, 28 ], [ 45, 29 ], [ 39, 30 ], [ 44, 39 ], [ 44, 42 ], [ 44, 45 ] ]
[ "a,b,c=map(int,input().split())\n\nif max(a,b,c)==a+b+c-max(a,b,c):\n print(\"Yes\")\nelse:\n print(\"No\")", "a,b,c=map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "if max(a,b,c)==a+b+c-max(a,b,c):\n print(\"Yes\")\nelse:\n print(\"No\")", "max(a,b,c)==a+b+c-max(a,b,c)", "max(a,b,c)", "max", "a", "b", "c", "a+b+c-max(a,b,c)", "a+b+c", "a+b", "a", "b", "c", "max(a,b,c)", "max", "a", "b", "c", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "c=map(int,input().split())", "map(int,input().split())", "c", "a,b,c=map(int,input().split())", "map(int,input().split())", "a", "b,c=map(int,input().split())", "map(int,input().split())", "b" ]
a,b,c=map(int,input().split()) if max(a,b,c)==a+b+c-max(a,b,c): print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 4, 13, 12, 4, 13, 13, 23, 4, 18, 4, 13, 13, 17, 4, 18, 13, 13, 8, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 41, 2 ], [ 42, 20 ], [ 42, 26 ], [ 42, 29 ], [ 42, 32 ], [ 41, 42 ] ]
[ "ary = list(map(lambda n: int(n), input().split(\" \")))\nary.sort()\n \nprint(\"Yes\") if ary[0] + ary[1] == ary[2] else print(\"No\")", "ary = list(map(lambda n: int(n), input().split(\" \")))", "ary", "list(map(lambda n: int(n), input().split(\" \")))", "list", "map(lambda n: int(n), input().split(\" \"))", "map", "lambda n: int(n)", "int(n)", "int", "n", "n", "input().split(\" \")", "().split", "()", "input", "split", "\" \"", "ary.sort()", "ary.sort", "ary", "sort", "print(\"Yes\") if ary[0] + ary[1] == ary[2] else print(\"No\")", "ary[0] + ary[1] == ary[2]", "ary[0] + ary[1]", "ary[0]", "ary", "0", "ary[1]", "ary", "1", "ary[2]", "ary", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "ary = list(map(lambda n: int(n), input().split(\" \")))", "list(map(lambda n: int(n), input().split(\" \")))", "ary" ]
ary = list(map(lambda n: int(n), input().split(" "))) ary.sort() print("Yes") if ary[0] + ary[1] == ary[2] else print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 4, 13, 13, 14, 2, 2, 40, 18, 13, 17, 17, 40, 18, 13, 17, 17, 40, 18, 13, 17, 17, 14, 2, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 59, 2 ], [ 56, 12 ], [ 60, 15 ], [ 57, 21 ], [ 57, 26 ], [ 57, 31 ], [ 57, 37 ], [ 57, 41 ], [ 57, 44 ], [ 56, 57 ], [ 59, 60 ] ]
[ "a = map(int,input().split())\nb = sorted(a)\nif b[0] != 0 and b[1] != 0 and b[2] != 0:\n if b[2] == b[0] + b[1]:\n print(\"Yes\")\n else:\n print(\"No\")\nelse:\n print(\"No\")", "a = map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b = sorted(a)", "b", "sorted(a)", "sorted", "a", "if b[0] != 0 and b[1] != 0 and b[2] != 0:\n if b[2] == b[0] + b[1]:\n print(\"Yes\")\n else:\n print(\"No\")\nelse:\n print(\"No\")", "b[0] != 0 and b[1] != 0 and b[2] != 0", "b[0] != 0 and b[1] != 0", "b[0] != 0", "b[0]", "b", "0", "0", "b[1] != 0", "b[1]", "b", "1", "0", "b[2] != 0", "b[2]", "b", "2", "0", "if b[2] == b[0] + b[1]:\n print(\"Yes\")\n else:\n print(\"No\")", "b[2] == b[0] + b[1]", "b[2]", "b", "2", "b[0] + b[1]", "b[0]", "b", "0", "b[1]", "b", "1", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "print(\"No\")", "print", "\"No\"", "b = sorted(a)", "sorted(a)", "b", "a = map(int,input().split())", "map(int,input().split())", "a" ]
a = map(int,input().split()) b = sorted(a) if b[0] != 0 and b[1] != 0 and b[2] != 0: if b[2] == b[0] + b[1]: print("Yes") else: print("No") else: print("No")
[ 7, 0, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 4, 13, 13, 0, 13, 4, 13, 13, 0, 13, 4, 13, 13, 14, 2, 2, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 65, 2 ], [ 65, 8 ], [ 65, 9 ], [ 62, 11 ], [ 57, 14 ], [ 59, 16 ], [ 66, 19 ], [ 50, 21 ], [ 54, 24 ], [ 63, 30 ], [ 57, 30 ], [ 60, 31 ], [ 66, 31 ], [ 51, 32 ], [ 54, 32 ], [ 63, 35 ], [ 57, 35 ], [ 51, 36 ], [ 54, 36 ], [ 60, 37 ], [ 66, 37 ], [ 60, 40 ], [ 66, 40 ], [ 51, 41 ], [ 54, 41 ], [ 63, 42 ], [ 57, 42 ], [ 50, 51 ], [ 65, 54 ], [ 65, 57 ], [ 59, 60 ], [ 62, 63 ], [ 65, 66 ] ]
[ "a,b,c=input().split()\na=int(a)\nb=int(b)\nc=int(c)\n\nif a+b==c or a+c==b or b+c==a :\n print(\"Yes\")\nelse:\n print(\"No\")", "a,b,c=input().split()", "a", "input().split()", "().split", "()", "input", "split", "b", "c", "a=int(a)", "a", "int(a)", "int", "a", "b=int(b)", "b", "int(b)", "int", "b", "c=int(c)", "c", "int(c)", "int", "c", "if a+b==c or a+c==b or b+c==a :\n print(\"Yes\")\nelse:\n print(\"No\")", "a+b==c or a+c==b or b+c==a", "a+b==c or a+c==b", "a+b==c", "a+b", "a", "b", "c", "a+c==b", "a+c", "a", "c", "b", "b+c==a", "b+c", "b", "c", "a", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "c=int(c)", "int(c)", "c", "c=input().split()", "input().split()", "c", "a,b,c=input().split()", "input().split()", "a", "b=int(b)", "int(b)", "b", "a=int(a)", "int(a)", "a", "b,c=input().split()", "input().split()", "b" ]
a,b,c=input().split() a=int(a) b=int(b) c=int(c) if a+b==c or a+c==b or b+c==a : print("Yes") else: print("No")
[ 7, 12, 13, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 13, 8, 2, 2, 4, 13, 13, 17, 4, 13, 13, 17, 17, 14, 2, 17, 13, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 4, 22 ], [ 4, 26 ], [ 37, 34 ] ]
[ "\ndef resolve():\n bags = list(map(int, input().split()))\n print(\"Yes\" if max(bags)*2 == sum(bags) else \"No\")\n \n\n\nif '__main__' == __name__:\n resolve()", "def resolve():\n bags = list(map(int, input().split()))\n print(\"Yes\" if max(bags)*2 == sum(bags) else \"No\")\n ", "resolve", "bags = list(map(int, input().split()))", "bags", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "print(\"Yes\" if max(bags)*2 == sum(bags) else \"No\")", "print", "\"Yes\" if max(bags)*2 == sum(bags) else \"No\"", "max(bags)*2 == sum(bags)", "max(bags)*2", "max(bags)", "max", "bags", "2", "sum(bags)", "sum", "bags", "\"Yes\"", "\"No\"", "if '__main__' == __name__:\n resolve()", "'__main__' == __name__", "'__main__'", "__name__", "resolve()", "resolve", "def resolve():\n bags = list(map(int, input().split()))\n print(\"Yes\" if max(bags)*2 == sum(bags) else \"No\")\n ", "def resolve():\n bags = list(map(int, input().split()))\n print(\"Yes\" if max(bags)*2 == sum(bags) else \"No\")\n ", "resolve" ]
def resolve(): bags = list(map(int, input().split())) print("Yes" if max(bags)*2 == sum(bags) else "No") if '__main__' == __name__: resolve()
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 14, 2, 4, 13, 13, 2, 4, 13, 13, 4, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 32, 2 ], [ 33, 17 ], [ 33, 21 ], [ 33, 24 ], [ 32, 33 ] ]
[ "data = list(map(int, input().split()))\nif max(data) == sum(data) - max(data):\n print(\"Yes\")\nelse:\n print(\"No\")", "data = list(map(int, input().split()))", "data", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "if max(data) == sum(data) - max(data):\n print(\"Yes\")\nelse:\n print(\"No\")", "max(data) == sum(data) - max(data)", "max(data)", "max", "data", "sum(data) - max(data)", "sum(data)", "sum", "data", "max(data)", "max", "data", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "data = list(map(int, input().split()))", "list(map(int, input().split()))", "data" ]
data = list(map(int, input().split())) if max(data) == sum(data) - max(data): print("Yes") else: print("No")
[ 7, 12, 13, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 18, 13, 13, 0, 13, 2, 18, 13, 17, 18, 13, 17, 14, 2, 13, 18, 13, 17, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 4, 17 ], [ 21, 20 ], [ 4, 23 ], [ 4, 26 ], [ 20, 30 ], [ 4, 32 ], [ 48, 45 ] ]
[ "def iroha():\n li = list(map(int, input().split()))\n li.sort()\n merge = li[0] + li[1]\n if merge == li[2]:\n print(\"Yes\")\n else:\n print(\"No\")\n\n\nif __name__ == \"__main__\":\n iroha()\n", "def iroha():\n li = list(map(int, input().split()))\n li.sort()\n merge = li[0] + li[1]\n if merge == li[2]:\n print(\"Yes\")\n else:\n print(\"No\")", "iroha", "li = list(map(int, input().split()))", "li", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "li.sort()", "li.sort", "li", "sort", "merge = li[0] + li[1]", "merge", "li[0] + li[1]", "li[0]", "li", "0", "li[1]", "li", "1", "if merge == li[2]:\n print(\"Yes\")\n else:\n print(\"No\")", "merge == li[2]", "merge", "li[2]", "li", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "if __name__ == \"__main__\":\n iroha()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "iroha()", "iroha", "def iroha():\n li = list(map(int, input().split()))\n li.sort()\n merge = li[0] + li[1]\n if merge == li[2]:\n print(\"Yes\")\n else:\n print(\"No\")", "def iroha():\n li = list(map(int, input().split()))\n li.sort()\n merge = li[0] + li[1]\n if merge == li[2]:\n print(\"Yes\")\n else:\n print(\"No\")", "iroha" ]
def iroha(): li = list(map(int, input().split())) li.sort() merge = li[0] + li[1] if merge == li[2]: print("Yes") else: print("No") if __name__ == "__main__": iroha()
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 18, 13, 13, 4, 13, 8, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 17, 17, 10, 4, 13 ]
[ [ 34, 2 ], [ 35, 15 ], [ 35, 23 ], [ 35, 26 ], [ 35, 29 ], [ 34, 35 ] ]
[ "p = list(map(int, input().split()))\np.sort()\nprint('Yes' if p[0]+p[1]==p[2] else 'No')", "p = list(map(int, input().split()))", "p", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "p.sort()", "p.sort", "p", "sort", "print('Yes' if p[0]+p[1]==p[2] else 'No')", "print", "'Yes' if p[0]+p[1]==p[2] else 'No'", "p[0]+p[1]==p[2]", "p[0]+p[1]", "p[0]", "p", "0", "p[1]", "p", "1", "p[2]", "p", "2", "'Yes'", "'No'", "p = list(map(int, input().split()))", "list(map(int, input().split()))", "p" ]
p = list(map(int, input().split())) p.sort() print('Yes' if p[0]+p[1]==p[2] else 'No')
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 8, 2, 4, 13, 13, 2, 4, 13, 13, 4, 13, 13, 17, 17, 4, 13, 13, 10, 8, 13, 10, 4, 13 ]
[ [ 36, 2 ], [ 33, 14 ], [ 37, 19 ], [ 37, 23 ], [ 37, 26 ], [ 34, 31 ], [ 33, 34 ], [ 36, 37 ] ]
[ "L = list(map(int, input().split()))\n\nans = 'Yes' if max(L) == (sum(L) - max(L)) else 'No'\nprint(ans)", "L = list(map(int, input().split()))", "L", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "ans = 'Yes' if max(L) == (sum(L) - max(L)) else 'No'", "ans", "'Yes' if max(L) == (sum(L) - max(L)) else 'No'", "max(L) == (sum(L) - max(L))", "max(L)", "max", "L", "sum(L) - max(L)", "sum(L)", "sum", "L", "max(L)", "max", "L", "'Yes'", "'No'", "print(ans)", "print", "ans", "ans = 'Yes' if max(L) == (sum(L) - max(L)) else 'No'", "'Yes' if max(L) == (sum(L) - max(L)) else 'No'", "ans", "L = list(map(int, input().split()))", "list(map(int, input().split()))", "L" ]
L = list(map(int, input().split())) ans = 'Yes' if max(L) == (sum(L) - max(L)) else 'No' print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 17, 14, 2, 2, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 2, 13, 2, 13, 13, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 47, 2 ], [ 47, 11 ], [ 47, 12 ], [ 50, 14 ], [ 48, 21 ], [ 45, 22 ], [ 42, 23 ], [ 48, 26 ], [ 42, 27 ], [ 45, 28 ], [ 48, 30 ], [ 45, 32 ], [ 42, 33 ], [ 53, 35 ], [ 54, 39 ], [ 51, 39 ], [ 47, 42 ], [ 47, 45 ], [ 47, 48 ], [ 50, 51 ], [ 53, 54 ] ]
[ "# A - キャンディーと2人の子供\n# https://atcoder.jp/contests/abc047/tasks/abc047_a\n\na, b, c = map(int, input().split())\n\nresult = 'No'\n\nif a + b == c or a + c == b or a == b + c:\n result = 'Yes'\n\nprint(result)", "a, b, c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "result = 'No'", "result", "'No'", "if a + b == c or a + c == b or a == b + c:\n result = 'Yes'", "a + b == c or a + c == b or a == b + c", "a + b == c or a + c == b", "a + b == c", "a + b", "a", "b", "c", "a + c == b", "a + c", "a", "c", "b", "a == b + c", "a", "b + c", "b", "c", "result = 'Yes'", "result", "'Yes'", "print(result)", "print", "result", "c = map(int, input().split())", "map(int, input().split())", "c", "b, c = map(int, input().split())", "map(int, input().split())", "b", "a, b, c = map(int, input().split())", "map(int, input().split())", "a", "result = 'No'", "'No'", "result", "result = 'Yes'", "'Yes'", "result" ]
# A - キャンディーと2人の子供 # https://atcoder.jp/contests/abc047/tasks/abc047_a a, b, c = map(int, input().split()) result = 'No' if a + b == c or a + c == b or a == b + c: result = 'Yes' print(result)
[ 7, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 0, 13, 13, 14, 2, 2, 2, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 2, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 2, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 13, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 59, 14 ], [ 60, 21 ], [ 60, 25 ], [ 60, 28 ], [ 60, 32 ], [ 60, 36 ], [ 60, 39 ], [ 60, 43 ], [ 60, 47 ], [ 60, 50 ], [ 59, 60 ] ]
[ "l = [int(x) for x in input().split()]\nif l[2]==l[0]+l[1] or l[0]==l[1]+l[2] or l[1]==l[0]+l[2]:\n print ('Yes')\nelse:\n print ('No')", "int(x) for x in input().split()", "for x in input().split()", "x", "input().split()", "().split", "()", "input", "split", "for x in input().split()", "int(x)", "int", "x", "l = [int(x) for x in input().split()]", "l", "[int(x) for x in input().split()]", "if l[2]==l[0]+l[1] or l[0]==l[1]+l[2] or l[1]==l[0]+l[2]:\n print ('Yes')\nelse:\n print ('No')", "l[2]==l[0]+l[1] or l[0]==l[1]+l[2] or l[1]==l[0]+l[2]", "l[2]==l[0]+l[1] or l[0]==l[1]+l[2]", "l[2]==l[0]+l[1]", "l[2]", "l", "2", "l[0]+l[1]", "l[0]", "l", "0", "l[1]", "l", "1", "l[0]==l[1]+l[2]", "l[0]", "l", "0", "l[1]+l[2]", "l[1]", "l", "1", "l[2]", "l", "2", "l[1]==l[0]+l[2]", "l[1]", "l", "1", "l[0]+l[2]", "l[0]", "l", "0", "l[2]", "l", "2", "print ('Yes')", "print", "'Yes'", "print ('No')", "print", "'No'", "l = [int(x) for x in input().split()]", "[int(x) for x in input().split()]", "l" ]
l = [int(x) for x in input().split()] if l[2]==l[0]+l[1] or l[0]==l[1]+l[2] or l[1]==l[0]+l[2]: print ('Yes') else: print ('No')
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 4, 18, 13, 13, 4, 13, 13, 14, 2, 4, 18, 13, 13, 13, 4, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 39, 14 ], [ 43, 17 ], [ 43, 21 ], [ 43, 26 ], [ 40, 28 ], [ 43, 31 ], [ 39, 40 ], [ 42, 43 ] ]
[ "s = list(map(int, input().split()))\nma = s.index(max(s))\n\nif s.pop(ma) == sum(s):\n print('Yes')\nelse:\n print('No')\n\n", "s = list(map(int, input().split()))", "s", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "ma = s.index(max(s))", "ma", "s.index(max(s))", "s.index", "s", "index", "max(s)", "max", "s", "if s.pop(ma) == sum(s):\n print('Yes')\nelse:\n print('No')", "s.pop(ma) == sum(s)", "s.pop(ma)", "s.pop", "s", "pop", "ma", "sum(s)", "sum", "s", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "ma = s.index(max(s))", "s.index(max(s))", "ma", "s = list(map(int, input().split()))", "list(map(int, input().split()))", "s" ]
s = list(map(int, input().split())) ma = s.index(max(s)) if s.pop(ma) == sum(s): print('Yes') else: print('No')
[ 7, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 4, 13, 13, 14, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 15, 14 ], [ 4, 17 ], [ 14, 22 ], [ 14, 25 ], [ 14, 28 ], [ 44, 41 ] ]
[ "\ndef main():\n n = map(int, input().split())\n n_sorted = sorted(n)\n if n_sorted[0] + n_sorted[1] == n_sorted[2]:\n print('Yes')\n else:\n print('No')\n\n\nif __name__ == \"__main__\":\n main()", "def main():\n n = map(int, input().split())\n n_sorted = sorted(n)\n if n_sorted[0] + n_sorted[1] == n_sorted[2]:\n print('Yes')\n else:\n print('No')", "main", "n = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "n_sorted = sorted(n)", "n_sorted", "sorted(n)", "sorted", "n", "if n_sorted[0] + n_sorted[1] == n_sorted[2]:\n print('Yes')\n else:\n print('No')", "n_sorted[0] + n_sorted[1] == n_sorted[2]", "n_sorted[0] + n_sorted[1]", "n_sorted[0]", "n_sorted", "0", "n_sorted[1]", "n_sorted", "1", "n_sorted[2]", "n_sorted", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "if __name__ == \"__main__\":\n main()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "main()", "main", "def main():\n n = map(int, input().split())\n n_sorted = sorted(n)\n if n_sorted[0] + n_sorted[1] == n_sorted[2]:\n print('Yes')\n else:\n print('No')", "def main():\n n = map(int, input().split())\n n_sorted = sorted(n)\n if n_sorted[0] + n_sorted[1] == n_sorted[2]:\n print('Yes')\n else:\n print('No')", "main" ]
def main(): n = map(int, input().split()) n_sorted = sorted(n) if n_sorted[0] + n_sorted[1] == n_sorted[2]: print('Yes') else: print('No') if __name__ == "__main__": main()
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 2, 2, 13, 13, 13, 14, 2, 2, 2, 2, 13, 13, 2, 13, 17, 2, 2, 13, 13, 2, 13, 17, 2, 2, 13, 13, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 2, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 60, 2 ], [ 60, 11 ], [ 60, 12 ], [ 51, 14 ], [ 61, 17 ], [ 55, 18 ], [ 58, 19 ], [ 52, 25 ], [ 61, 26 ], [ 52, 28 ], [ 52, 32 ], [ 55, 33 ], [ 52, 35 ], [ 52, 39 ], [ 58, 40 ], [ 52, 42 ], [ 51, 52 ], [ 60, 55 ], [ 60, 58 ], [ 60, 61 ] ]
[ "a,b,c = map(int, input().split())\ntmp = a + b + c\n\nif (tmp - a == tmp/2 or tmp - b == tmp/2 or tmp - c == tmp/2):\n print('Yes')\nelse:\n print('No')", "a,b,c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "tmp = a + b + c", "tmp", "a + b + c", "a + b", "a", "b", "c", "if (tmp - a == tmp/2 or tmp - b == tmp/2 or tmp - c == tmp/2):\n print('Yes')\nelse:\n print('No')", "tmp - a == tmp/2 or tmp - b == tmp/2 or tmp - c == tmp/2", "tmp - a == tmp/2 or tmp - b == tmp/2", "tmp - a == tmp/2", "tmp - a", "tmp", "a", "tmp/2", "tmp", "2", "tmp - b == tmp/2", "tmp - b", "tmp", "b", "tmp/2", "tmp", "2", "tmp - c == tmp/2", "tmp - c", "tmp", "c", "tmp/2", "tmp", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "tmp = a + b + c", "a + b + c", "tmp", "b,c = map(int, input().split())", "map(int, input().split())", "b", "c = map(int, input().split())", "map(int, input().split())", "c", "a,b,c = map(int, input().split())", "map(int, input().split())", "a" ]
a,b,c = map(int, input().split()) tmp = a + b + c if (tmp - a == tmp/2 or tmp - b == tmp/2 or tmp - c == tmp/2): print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 2, 13, 13, 13, 4, 13, 17, 14, 2, 2, 13, 13, 13, 4, 13, 17, 14, 2, 2, 13, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 50, 2 ], [ 50, 11 ], [ 50, 12 ], [ 45, 16 ], [ 48, 17 ], [ 51, 18 ], [ 45, 25 ], [ 51, 26 ], [ 48, 27 ], [ 48, 34 ], [ 51, 35 ], [ 45, 36 ], [ 50, 45 ], [ 50, 48 ], [ 50, 51 ] ]
[ "a,b,c = map(int, input().split())\nif (a+b)==c:\n print(\"Yes\")\nelif (a+c)==b:\n print(\"Yes\")\nelif (b+c)==a:\n print(\"Yes\")\nelse:\n print(\"No\")", "a,b,c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "if (a+b)==c:\n print(\"Yes\")\nelif (a+c)==b:\n print(\"Yes\")\nelif (b+c)==a:\n print(\"Yes\")\nelse:\n print(\"No\")", "(a+b)==c", "a+b", "a", "b", "c", "print(\"Yes\")", "print", "\"Yes\"", "elif (a+c)==b:\n print(\"Yes\")", "(a+c)==b", "a+c", "a", "c", "b", "print(\"Yes\")", "print", "\"Yes\"", "elif (b+c)==a:\n print(\"Yes\")", "(b+c)==a", "b+c", "b", "c", "a", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "a,b,c = map(int, input().split())", "map(int, input().split())", "a", "b,c = map(int, input().split())", "map(int, input().split())", "b", "c = map(int, input().split())", "map(int, input().split())", "c" ]
a,b,c = map(int, input().split()) if (a+b)==c: print("Yes") elif (a+c)==b: print("Yes") elif (b+c)==a: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 18, 13, 13, 8, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 36, 2 ], [ 37, 15 ], [ 37, 21 ], [ 37, 24 ], [ 37, 27 ], [ 36, 37 ] ]
[ "a = list(map(int, input().split()))\na.sort()\nprint('Yes') if a[0] + a[1] == a[2] else print('No')", "a = list(map(int, input().split()))", "a", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "a.sort()", "a.sort", "a", "sort", "print('Yes') if a[0] + a[1] == a[2] else print('No')", "a[0] + a[1] == a[2]", "a[0] + a[1]", "a[0]", "a", "0", "a[1]", "a", "1", "a[2]", "a", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "a = list(map(int, input().split()))", "list(map(int, input().split()))", "a" ]
a = list(map(int, input().split())) a.sort() print('Yes') if a[0] + a[1] == a[2] else print('No')
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 14, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 32, 2 ], [ 33, 17 ], [ 33, 20 ], [ 33, 23 ], [ 32, 33 ] ]
[ "l=sorted(map(int,input().split()))\nif l[0]+l[1]==l[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "l=sorted(map(int,input().split()))", "l", "sorted(map(int,input().split()))", "sorted", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "if l[0]+l[1]==l[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "l[0]+l[1]==l[2]", "l[0]+l[1]", "l[0]", "l", "0", "l[1]", "l", "1", "l[2]", "l", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "l=sorted(map(int,input().split()))", "sorted(map(int,input().split()))", "l" ]
l=sorted(map(int,input().split())) if l[0]+l[1]==l[2]: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 2, 2, 4, 13, 2, 13, 13, 13, 2, 4, 13, 2, 13, 13, 13, 2, 4, 13, 2, 13, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 50, 2 ], [ 50, 11 ], [ 50, 12 ], [ 45, 20 ], [ 48, 21 ], [ 51, 22 ], [ 45, 27 ], [ 51, 28 ], [ 48, 29 ], [ 48, 34 ], [ 51, 35 ], [ 45, 36 ], [ 50, 45 ], [ 50, 48 ], [ 50, 51 ] ]
[ "a,b,c = map(int, input().split())\nif abs(a-b) == c or abs(a-c) == b or abs(b-c) == a:\n print(\"Yes\")\nelse:\n print(\"No\")", "a,b,c = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "if abs(a-b) == c or abs(a-c) == b or abs(b-c) == a:\n print(\"Yes\")\nelse:\n print(\"No\")", "abs(a-b) == c or abs(a-c) == b or abs(b-c) == a", "abs(a-b) == c or abs(a-c) == b", "abs(a-b) == c", "abs(a-b)", "abs", "a-b", "a", "b", "c", "abs(a-c) == b", "abs(a-c)", "abs", "a-c", "a", "c", "b", "abs(b-c) == a", "abs(b-c)", "abs", "b-c", "b", "c", "a", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "a,b,c = map(int, input().split())", "map(int, input().split())", "a", "b,c = map(int, input().split())", "map(int, input().split())", "b", "c = map(int, input().split())", "map(int, input().split())", "c" ]
a,b,c = map(int, input().split()) if abs(a-b) == c or abs(a-c) == b or abs(b-c) == a: print("Yes") else: print("No")
[ 7, 12, 13, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 4, 18, 13, 13, 0, 13, 17, 14, 2, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 4, 17 ], [ 21, 20 ], [ 4, 25 ], [ 4, 29 ], [ 4, 32 ], [ 44, 41 ] ]
[ "def resolve():\n l=list(map(int, input().split()))\n l.sort(reverse=True)\n if l[0]==l[1]+l[2]:\n print('Yes')\n else:\n print('No')\nresolve()", "def resolve():\n l=list(map(int, input().split()))\n l.sort(reverse=True)\n if l[0]==l[1]+l[2]:\n print('Yes')\n else:\n print('No')", "resolve", "l=list(map(int, input().split()))", "l", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l.sort(reverse=True)", "l.sort", "l", "sort", "reverse=True", "reverse", "True", "if l[0]==l[1]+l[2]:\n print('Yes')\n else:\n print('No')", "l[0]==l[1]+l[2]", "l[0]", "l", "0", "l[1]+l[2]", "l[1]", "l", "1", "l[2]", "l", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "resolve()", "resolve", "def resolve():\n l=list(map(int, input().split()))\n l.sort(reverse=True)\n if l[0]==l[1]+l[2]:\n print('Yes')\n else:\n print('No')", "def resolve():\n l=list(map(int, input().split()))\n l.sort(reverse=True)\n if l[0]==l[1]+l[2]:\n print('Yes')\n else:\n print('No')", "resolve" ]
def resolve(): l=list(map(int, input().split())) l.sort(reverse=True) if l[0]==l[1]+l[2]: print('Yes') else: print('No') resolve()
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 39, 13, 13, 13, 14, 2, 2, 2, 2, 13, 13, 13, 17, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 45, 2 ], [ 45, 11 ], [ 45, 12 ], [ 39, 14 ], [ 37, 24 ], [ 43, 25 ], [ 46, 26 ], [ 40, 28 ], [ 45, 37 ], [ 39, 40 ], [ 45, 43 ], [ 45, 46 ] ]
[ "num1, num2, num3 = map(int,input().split())\n\nnum_group = [num1, num2, num3]\n\nif (num1 + num2 + num3)/2 in num_group:\n print('Yes')\nelse:\n print('No')", "num1, num2, num3 = map(int,input().split())", "num1", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "num2", "num3", "num_group = [num1, num2, num3]", "num_group", "[num1, num2, num3]", "num1", "num2", "num3", "if (num1 + num2 + num3)/2 in num_group:\n print('Yes')\nelse:\n print('No')", "(num1 + num2 + num3)/2 in num_group", "(num1 + num2 + num3)/2", "num1 + num2 + num3", "num1 + num2", "num1", "num2", "num3", "2", "num_group", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "num1, num2, num3 = map(int,input().split())", "map(int,input().split())", "num1", "num_group = [num1, num2, num3]", "[num1, num2, num3]", "num_group", "num2, num3 = map(int,input().split())", "map(int,input().split())", "num2", "num3 = map(int,input().split())", "map(int,input().split())", "num3" ]
num1, num2, num3 = map(int,input().split()) num_group = [num1, num2, num3] if (num1 + num2 + num3)/2 in num_group: print('Yes') else: print('No')
[ 7, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 0, 13, 13, 0, 13, 4, 13, 13, 4, 18, 13, 13, 13, 0, 13, 2, 18, 13, 17, 18, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 13, 13, 10, 2, 13, 10, 4, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 46, 14 ], [ 52, 17 ], [ 47, 20 ], [ 47, 23 ], [ 53, 25 ], [ 49, 27 ], [ 47, 30 ], [ 47, 33 ], [ 50, 37 ], [ 53, 38 ], [ 46, 47 ], [ 49, 50 ], [ 52, 53 ] ]
[ "i = [int(s) for s in input().split()]\nm = max(i)\ni.remove(m)\na = i[0] + i[1]\n\nif a == m:\n print(\"Yes\")\nelse:\n print(\"No\")", "int(s) for s in input().split()", "for s in input().split()", "s", "input().split()", "().split", "()", "input", "split", "for s in input().split()", "int(s)", "int", "s", "i = [int(s) for s in input().split()]", "i", "[int(s) for s in input().split()]", "m = max(i)", "m", "max(i)", "max", "i", "i.remove(m)", "i.remove", "i", "remove", "m", "a = i[0] + i[1]", "a", "i[0] + i[1]", "i[0]", "i", "0", "i[1]", "i", "1", "if a == m:\n print(\"Yes\")\nelse:\n print(\"No\")", "a == m", "a", "m", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "i = [int(s) for s in input().split()]", "[int(s) for s in input().split()]", "i", "a = i[0] + i[1]", "i[0] + i[1]", "a", "m = max(i)", "max(i)", "m" ]
i = [int(s) for s in input().split()] m = max(i) i.remove(m) a = i[0] + i[1] if a == m: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 14, 2, 2, 2, 13, 13, 2, 13, 13, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 2, 13, 10, 2, 13, 10, 2, 13, 10, 4, 13 ]
[ [ 62, 2 ], [ 62, 11 ], [ 62, 12 ], [ 59, 14 ], [ 48, 16 ], [ 51, 17 ], [ 53, 19 ], [ 51, 21 ], [ 63, 22 ], [ 56, 24 ], [ 63, 26 ], [ 48, 27 ], [ 60, 32 ], [ 63, 33 ], [ 54, 35 ], [ 48, 36 ], [ 57, 38 ], [ 51, 39 ], [ 62, 48 ], [ 62, 51 ], [ 53, 54 ], [ 56, 57 ], [ 59, 60 ], [ 62, 63 ] ]
[ "A, B, C = map(int, input().split())\n\nAB = A+B\nBC = B+C\nCA = C+A\n\nif AB==C or BC==A or CA==B:\n print(\"Yes\")\nelse:\n print(\"No\")", "A, B, C = map(int, input().split())", "A", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "B", "C", "AB = A+B", "AB", "A+B", "A", "B", "BC = B+C", "BC", "B+C", "B", "C", "CA = C+A", "CA", "C+A", "C", "A", "if AB==C or BC==A or CA==B:\n print(\"Yes\")\nelse:\n print(\"No\")", "AB==C or BC==A or CA==B", "AB==C or BC==A", "AB==C", "AB", "C", "BC==A", "BC", "A", "CA==B", "CA", "B", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "A, B, C = map(int, input().split())", "map(int, input().split())", "A", "B, C = map(int, input().split())", "map(int, input().split())", "B", "BC = B+C", "B+C", "BC", "CA = C+A", "C+A", "CA", "AB = A+B", "A+B", "AB", "C = map(int, input().split())", "map(int, input().split())", "C" ]
A, B, C = map(int, input().split()) AB = A+B BC = B+C CA = C+A if AB==C or BC==A or CA==B: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 4, 13, 13, 0, 13, 17, 14, 2, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 40, 2 ], [ 43, 14 ], [ 41, 17 ], [ 20, 19 ], [ 44, 24 ], [ 41, 24 ], [ 44, 28 ], [ 41, 28 ], [ 44, 31 ], [ 41, 31 ], [ 40, 41 ], [ 43, 44 ] ]
[ "a = list(map(int, input().split()))\na = sorted(a, reverse = True)\nif a[0] == a[1] + a[2]:\n print('Yes')\nelse:\n print('No')", "a = list(map(int, input().split()))", "a", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "a = sorted(a, reverse = True)", "a", "sorted(a, reverse = True)", "sorted", "a", "reverse = True", "reverse", "True", "if a[0] == a[1] + a[2]:\n print('Yes')\nelse:\n print('No')", "a[0] == a[1] + a[2]", "a[0]", "a", "0", "a[1] + a[2]", "a[1]", "a", "1", "a[2]", "a", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "a = list(map(int, input().split()))", "list(map(int, input().split()))", "a", "a = sorted(a, reverse = True)", "sorted(a, reverse = True)", "a" ]
a = list(map(int, input().split())) a = sorted(a, reverse = True) if a[0] == a[1] + a[2]: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 14, 2, 4, 18, 13, 13, 2, 4, 13, 13, 17, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 32, 2 ], [ 33, 17 ], [ 33, 22 ], [ 32, 33 ] ]
[ "candy = list(map(int, input().split()))\n\nif candy.count(sum(candy)/2) == 1:\n print('Yes')\nelse:\n print('No')", "candy = list(map(int, input().split()))", "candy", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "if candy.count(sum(candy)/2) == 1:\n print('Yes')\nelse:\n print('No')", "candy.count(sum(candy)/2) == 1", "candy.count(sum(candy)/2)", "candy.count", "candy", "count", "sum(candy)/2", "sum(candy)", "sum", "candy", "2", "1", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "candy = list(map(int, input().split()))", "list(map(int, input().split()))", "candy" ]
candy = list(map(int, input().split())) if candy.count(sum(candy)/2) == 1: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 2, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 2, 13, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 44, 2 ], [ 44, 11 ], [ 44, 12 ], [ 42, 18 ], [ 45, 19 ], [ 39, 20 ], [ 42, 23 ], [ 39, 24 ], [ 45, 25 ], [ 42, 27 ], [ 45, 29 ], [ 39, 30 ], [ 44, 39 ], [ 44, 42 ], [ 44, 45 ] ]
[ "A, B, C = map(int, input().split())\nif A+B == C or A+C == B or A == B+C:\n print('Yes')\nelse:\n print('No')", "A, B, C = map(int, input().split())", "A", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "B", "C", "if A+B == C or A+C == B or A == B+C:\n print('Yes')\nelse:\n print('No')", "A+B == C or A+C == B or A == B+C", "A+B == C or A+C == B", "A+B == C", "A+B", "A", "B", "C", "A+C == B", "A+C", "A", "C", "B", "A == B+C", "A", "B+C", "B", "C", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "C = map(int, input().split())", "map(int, input().split())", "C", "A, B, C = map(int, input().split())", "map(int, input().split())", "A", "B, C = map(int, input().split())", "map(int, input().split())", "B" ]
A, B, C = map(int, input().split()) if A+B == C or A+C == B or A == B+C: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 14, 2, 2, 18, 13, 17, 18, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 34, 2 ], [ 35, 19 ], [ 35, 22 ], [ 35, 25 ], [ 34, 35 ] ]
[ "x = sorted(list(map(int, input().split())))\nif x[0]+x[1] == x[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "x = sorted(list(map(int, input().split())))", "x", "sorted(list(map(int, input().split())))", "sorted", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "if x[0]+x[1] == x[2]:\n print(\"Yes\")\nelse:\n print(\"No\")", "x[0]+x[1] == x[2]", "x[0]+x[1]", "x[0]", "x", "0", "x[1]", "x", "1", "x[2]", "x", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "x = sorted(list(map(int, input().split())))", "sorted(list(map(int, input().split())))", "x" ]
x = sorted(list(map(int, input().split()))) if x[0]+x[1] == x[2]: print("Yes") else: print("No")
[ 7, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 0, 13, 13, 13, 13, 14, 2, 2, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 2, 2, 13, 13, 13, 4, 13, 17, 4, 13, 17, 10, 13, 13, 10, 13, 13, 10, 13, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 49, 14 ], [ 49, 16 ], [ 49, 17 ], [ 50, 23 ], [ 44, 24 ], [ 47, 25 ], [ 44, 28 ], [ 47, 29 ], [ 50, 30 ], [ 47, 33 ], [ 50, 34 ], [ 44, 35 ], [ 49, 44 ], [ 49, 47 ], [ 49, 50 ] ]
[ "a, b, c = (int(x) for x in input().split())\nif a + b == c or b + c == a or c + a == b:\n print('Yes')\nelse:\n print('No')", "int(x) for x in input().split()", "for x in input().split()", "x", "input().split()", "().split", "()", "input", "split", "for x in input().split()", "int(x)", "int", "x", "a, b, c = (int(x) for x in input().split())", "a", "(int(x) for x in input().split())", "b", "c", "if a + b == c or b + c == a or c + a == b:\n print('Yes')\nelse:\n print('No')", "a + b == c or b + c == a or c + a == b", "a + b == c or b + c == a", "a + b == c", "a + b", "a", "b", "c", "b + c == a", "b + c", "b", "c", "a", "c + a == b", "c + a", "c", "a", "b", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "b, c = (int(x) for x in input().split())", "(int(x) for x in input().split())", "b", "c = (int(x) for x in input().split())", "(int(x) for x in input().split())", "c", "a, b, c = (int(x) for x in input().split())", "(int(x) for x in input().split())", "a" ]
a, b, c = (int(x) for x in input().split()) if a + b == c or b + c == a or c + a == b: print('Yes') else: print('No')
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 18, 18, 18, 13, 13, 13, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 4, 13, 17, 0, 13, 2, 2, 17, 17, 17, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 14, 2, 2, 2, 2, 13, 13, 13, 4, 13, 13, 13, 13, 4, 13, 13, 13, 13, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 18, 13, 10, 12, 13, 10, 4, 13, 10, 18, 13, 10, 2, 13 ]
[ [ 83, 4 ], [ 92, 11 ], [ 89, 27 ], [ 95, 32 ], [ 42, 41 ], [ 93, 48 ], [ 42, 50 ], [ 42, 51 ], [ 41, 57 ], [ 50, 58 ], [ 51, 59 ], [ 41, 62 ], [ 50, 63 ], [ 51, 64 ], [ 41, 67 ], [ 50, 68 ], [ 51, 69 ], [ 87, 81 ], [ 83, 84 ], [ 89, 90 ], [ 92, 93 ], [ 95, 96 ] ]
[ "import sys\n\nread = sys.stdin.read\nreadline = sys.stdin.buffer.readline\nsys.setrecursionlimit(10 ** 8)\nINF = float('inf')\nMOD = 10 ** 9 + 7\n\n\ndef main():\n a, b, c = map(int, readline().split())\n if a + b + c - max(a, b, c) == max(a, b, c):\n print('Yes')\n else:\n print('No')\n\n\nif __name__ == '__main__':\n main()", "import sys", "sys", "read = sys.stdin.read", "read", "sys.stdin.read", "sys.stdin", "sys", "stdin", "read", "readline = sys.stdin.buffer.readline", "readline", "sys.stdin.buffer.readline", "sys.stdin.buffer", "sys.stdin", "sys", "stdin", "buffer", "readline", "sys.setrecursionlimit(10 ** 8)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10 ** 8", "10", "8", "INF = float('inf')", "INF", "float('inf')", "float", "'inf'", "MOD = 10 ** 9 + 7", "MOD", "10 ** 9 + 7", "10 ** 9", "10", "9", "7", "def main():\n a, b, c = map(int, readline().split())\n if a + b + c - max(a, b, c) == max(a, b, c):\n print('Yes')\n else:\n print('No')", "main", "a, b, c = map(int, readline().split())", "a", "map(int, readline().split())", "map", "int", "readline().split()", "().split", "()", "readline", "split", "b", "c", "if a + b + c - max(a, b, c) == max(a, b, c):\n print('Yes')\n else:\n print('No')", "a + b + c - max(a, b, c) == max(a, b, c)", "a + b + c - max(a, b, c)", "a + b + c", "a + b", "a", "b", "c", "max(a, b, c)", "max", "a", "b", "c", "max(a, b, c)", "max", "a", "b", "c", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "if __name__ == '__main__':\n main()", "__name__ == '__main__'", "__name__", "'__main__'", "main()", "main", "read = sys.stdin.read", "sys.stdin.read", "read", "def main():\n a, b, c = map(int, readline().split())\n if a + b + c - max(a, b, c) == max(a, b, c):\n print('Yes')\n else:\n print('No')", "def main():\n a, b, c = map(int, readline().split())\n if a + b + c - max(a, b, c) == max(a, b, c):\n print('Yes')\n else:\n print('No')", "main", "INF = float('inf')", "float('inf')", "INF", "readline = sys.stdin.buffer.readline", "sys.stdin.buffer.readline", "readline", "MOD = 10 ** 9 + 7", "10 ** 9 + 7", "MOD" ]
import sys read = sys.stdin.read readline = sys.stdin.buffer.readline sys.setrecursionlimit(10 ** 8) INF = float('inf') MOD = 10 ** 9 + 7 def main(): a, b, c = map(int, readline().split()) if a + b + c - max(a, b, c) == max(a, b, c): print('Yes') else: print('No') if __name__ == '__main__': main()
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 0, 13, 17, 14, 2, 2, 13, 13, 13, 0, 13, 17, 14, 2, 2, 13, 13, 13, 0, 13, 17, 14, 2, 2, 13, 13, 13, 0, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 66, 2 ], [ 66, 11 ], [ 66, 12 ], [ 69, 14 ], [ 67, 19 ], [ 55, 20 ], [ 61, 21 ], [ 57, 23 ], [ 67, 28 ], [ 61, 29 ], [ 55, 30 ], [ 63, 32 ], [ 55, 37 ], [ 61, 38 ], [ 67, 39 ], [ 72, 41 ], [ 73, 45 ], [ 64, 45 ], [ 58, 45 ], [ 70, 45 ], [ 66, 55 ], [ 57, 58 ], [ 66, 61 ], [ 63, 64 ], [ 66, 67 ], [ 69, 70 ], [ 72, 73 ] ]
[ "a,b,c = map(int,input().split())\nans = 0\nif a+b == c:\n ans += 1\nelif a+c == b:\n ans += 1\nelif b+c == a:\n ans += 1\nif ans >0:\n print(\"Yes\")\nelse:\n print(\"No\")", "a,b,c = map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c", "ans = 0", "ans", "0", "if a+b == c:\n ans += 1\nelif a+c == b:\n ans += 1\nelif b+c == a:\n ans += 1", "a+b == c", "a+b", "a", "b", "c", "ans += 1", "ans", "1", "elif a+c == b:\n ans += 1", "a+c == b", "a+c", "a", "c", "b", "ans += 1", "ans", "1", "elif b+c == a:\n ans += 1", "b+c == a", "b+c", "b", "c", "a", "ans += 1", "ans", "1", "if ans >0:\n print(\"Yes\")\nelse:\n print(\"No\")", "ans >0", "ans", "0", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "b,c = map(int,input().split())", "map(int,input().split())", "b", "ans += 1", "1", "ans", "c = map(int,input().split())", "map(int,input().split())", "c", "ans += 1", "1", "ans", "a,b,c = map(int,input().split())", "map(int,input().split())", "a", "ans = 0", "0", "ans", "ans += 1", "1", "ans" ]
a,b,c = map(int,input().split()) ans = 0 if a+b == c: ans += 1 elif a+c == b: ans += 1 elif b+c == a: ans += 1 if ans >0: print("Yes") else: print("No")