{"problem":{"name":"Pentagon","description":{"content":"A regular pentagon $P$ is shown in the figure below. ![image](https://img.atcoder.jp/abc333/2d0c9295b03ff6d808c1ee9125045fc8.png) Determine whether the length of the line segment connecting points $S_","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc333_b"},"statements":[{"statement_type":"Markdown","content":"A regular pentagon $P$ is shown in the figure below.\n![image](https://img.atcoder.jp/abc333/2d0c9295b03ff6d808c1ee9125045fc8.png)\nDetermine whether the length of the line segment connecting points $S_1$ and $S_2$ of $P$ equals the length of the line segment connecting points $T_1$ and $T_2$.\n\n## Constraints\n\n*   Each of $S_1$, $S_2$, $T_1$, and $T_2$ is one of the characters `A`, `B`, `C`, `D`, and `E`.\n*   $S_1 \\neq S_2$\n*   $T_1 \\neq T_2$\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$S_1S_2$\n$T_1T_2$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc333_b","tags":[],"sample_group":[["AC\nEC","Yes\n\nThe length of the line segment connecting point `A` and point `C` of $P$ equals the length of the line segment connecting point `E` and point `C`."],["DA\nEA","No\n\nThe length of the line segment connecting point `D` and point `A` of $P$ does not equal the length of the line segment connecting point `E` and point `A`."],["BD\nBD","Yes"]],"created_at":"2026-03-03 11:01:13"}}