{"raw_statement":[{"iden":"problem statement","content":"You are given a $4$\\-digit PIN: $X_1X_2X_3X_4$, which may begin with a $0$. The PIN is said to be weak when it satisfies one of the following conditions:\n\n*   All of the four digits are the same.\n*   For each integer $i$ such that $1\\leq i\\leq 3$, $X_{i+1}$ follows $X_i$. Here, $j+1$ follows $j$ for each $0\\leq j\\leq 8$, and $0$ follows $9$.\n\nIf the given PIN is weak, print `Weak`; otherwise, print `Strong`."},{"iden":"constraints","content":"*   $0 \\leq X_1, X_2, X_3, X_4 \\leq 9$\n*   $X_1$, $X_2$, $X_3$, and $X_4$ are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$X_1X_2X_3X_4$"},{"iden":"sample input 1","content":"7777"},{"iden":"sample output 1","content":"Weak\n\nAll four digits are $7$, satisfying the first condition, so this PIN is weak."},{"iden":"sample input 2","content":"0112"},{"iden":"sample output 2","content":"Strong\n\nThe first and second digits differ, and the third digit does not follow the second digit, so neither condition is satisfied."},{"iden":"sample input 3","content":"9012"},{"iden":"sample output 3","content":"Weak\n\nNote that $0$ follows $9$."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}