{"raw_statement":[{"iden":"problem statement","content":"Takahashi has a string $S$ consisting of lowercase English letters.\nOn this string, he will do the operation below just once.\n\n*   First, choose a non-negative integer $K$.\n*   Then, shift each character of $S$ to the right by $K$ (see below).\n\nHere,\n\n*   `a` shifted to the right by $1$ is `b`;\n*   `b` shifted to the right by $1$ is `c`;\n*   `c` shifted to the right by $1$ is `d`;\n*   $\\cdots$\n*   `y` shifted to the right by $1$ is `z`;\n*   **`z` shifted to the right by $1$ is `a`.**\n\nFor example, `b` shifted to the right by $4$ is `f`, and `y` shifted to the right by $3$ is `b`.\nYou are given a string $T$. Determine whether Takahashi can make $S$ equal $T$ by the operation above."},{"iden":"constraints","content":"*   Each of $S$ and $T$ is a string of length between $1$ and $10^5$ (inclusive) consisting of lowercase English letters.\n*   The lengths of $S$ and $T$ are equal."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$S$\n$T$"},{"iden":"sample input 1","content":"abc\nijk"},{"iden":"sample output 1","content":"Yes\n\nWhen Takahashi chooses $K=8$,\n\n*   `a` is shifted to the right by $8$ and becomes `i`,\n*   `b` is shifted to the right by $8$ and becomes `j`,\n*   `c` is shifted to the right by $8$ and becomes `k`,\n\nand now $S$ and $T$ are equal.  \nTherefore, he can make $S$ equal $T$, so `Yes` should be printed."},{"iden":"sample input 2","content":"z\na"},{"iden":"sample output 2","content":"Yes\n\nChoosing $K=1$ makes $S$ and $T$ equal.  \nNote that the letter on the right of `z` is `a`."},{"iden":"sample input 3","content":"ppq\nqqp"},{"iden":"sample output 3","content":"No\n\nThere is no non-negative integer $K$ that he can choose to make $S$ equal $T$, so `No` should be printed."},{"iden":"sample input 4","content":"atcoder\natcoder"},{"iden":"sample output 4","content":"Yes\n\nChoosing $K=0$ makes $S$ and $T$ equal."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}