{"raw_statement":[{"iden":"problem statement","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."},{"iden":"constraints","content":"*   $a$\\=`H` or $a$\\=`D`.\n*   $b$\\=`H` or $b$\\=`D`."},{"iden":"input","content":"The input is given from Standard Input in the following format:\n\n$a$ $b$"},{"iden":"sample input 1","content":"H H"},{"iden":"sample output 1","content":"H\n\nIn this input, AtCoDeer is honest. Hence, as he says, TopCoDeer is honest."},{"iden":"sample input 2","content":"D H"},{"iden":"sample output 2","content":"D\n\nIn this input, AtCoDeer is dishonest. Hence, contrary to what he says, TopCoDeer is dishonest."},{"iden":"sample input 3","content":"D D"},{"iden":"sample output 3","content":"H"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}