{"problem":{"name":"HonestOrDishonest","description":{"content":"Two deer, AtCoDeer and TopCoDeer, are playing a game called _Honest or Dishonest_. In this game, an honest player always tells the truth, and an dishonest player always tell lies. You are given two ch","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc056_a"},"statements":[{"statement_type":"Markdown","content":"Two deer, AtCoDeer and TopCoDeer, are playing a game called _Honest or Dishonest_. In this game, an honest player always tells the truth, and an dishonest player always tell lies. You are given two characters $a$ and $b$ as the input. Each of them is either `H` or `D`, and carries the following information:\nIf $a$\\=`H`, AtCoDeer is honest; if $a$\\=`D`, AtCoDeer is dishonest. If $b$\\=`H`, AtCoDeer is saying that TopCoDeer is honest; if $b$\\=`D`, AtCoDeer is saying that TopCoDeer is dishonest.\nGiven this information, determine whether TopCoDeer is honest.\n\n## Constraints\n\n*   $a$\\=`H` or $a$\\=`D`.\n*   $b$\\=`H` or $b$\\=`D`.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$a$ $b$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc056_a","tags":[],"sample_group":[["H H","H\n\nIn this input, AtCoDeer is honest. Hence, as he says, TopCoDeer is honest."],["D H","D\n\nIn this input, AtCoDeer is dishonest. Hence, contrary to what he says, TopCoDeer is dishonest."],["D D","H"]],"created_at":"2026-03-03 11:01:14"}}