{"raw_statement":[{"iden":"problem statement","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$."},{"iden":"constraints","content":"*   $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."},{"iden":"input","content":"Input 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$"},{"iden":"sample input 1","content":"2\n-3 6\n4 2"},{"iden":"sample output 1","content":"Yes\n\nThe inner product of $A$ and $B$ is $(-3) \\times 4 + 6 \\times 2 = 0$."},{"iden":"sample input 2","content":"2\n4 5\n-1 -3"},{"iden":"sample output 2","content":"No\n\nThe inner product of $A$ and $B$ is $4 \\times (-1) + 5 \\times (-3) = -19$."},{"iden":"sample input 3","content":"3\n1 3 5\n3 -6 3"},{"iden":"sample output 3","content":"Yes\n\nThe inner product of $A$ and $B$ is $1 \\times 3 + 3 \\times (-6) + 5 \\times 3 = 0$."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}