{"problem":{"name":"Orthogonality","description":{"content":"Given are two $N$\\-dimensional vectors $A = (A_1, A_2, A_3, \\dots, A_N)$ and $B = (B_1, B_2, B_3, \\dots, B_N)$.   Determine whether the inner product of $A$ and $B$ is $0$.   In other words, determine","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc188_b"},"statements":[{"statement_type":"Markdown","content":"Given are two $N$\\-dimensional vectors $A = (A_1, A_2, A_3, \\dots, A_N)$ and $B = (B_1, B_2, B_3, \\dots, B_N)$.  \nDetermine whether the inner product of $A$ and $B$ is $0$.  \nIn other words, determine whether $A_1B_1 + A_2B_2 + A_3B_3 + \\dots + A_NB_N = 0$.\n\n## Constraints\n\n*   $1 \\le N \\le 100000$\n*   $-100 \\le A_i \\le 100$\n*   $-100 \\le B_i \\le 100$\n*   All values in input are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n$A_1$ $A_2$ $A_3$ $\\dots$ $A_N$\n$B_1$ $B_2$ $B_3$ $\\dots$ $B_N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc188_b","tags":[],"sample_group":[["2\n-3 6\n4 2","Yes\n\nThe inner product of $A$ and $B$ is $(-3) \\times 4 + 6 \\times 2 = 0$."],["2\n4 5\n-1 -3","No\n\nThe inner product of $A$ and $B$ is $4 \\times (-1) + 5 \\times (-3) = -19$."],["3\n1 3 5\n3 -6 3","Yes\n\nThe inner product of $A$ and $B$ is $1 \\times 3 + 3 \\times (-6) + 5 \\times 3 = 0$."]],"created_at":"2026-03-03 11:01:14"}}