• [1097] HTML Again

  • 时间限制: 1000 ms 内存限制: 65535 K
  • 问题描述
  • HTML is to describe a web document a markup language. Used for the development of web pages, it is in Angle brackets to mark a page tags, like

    			<h1>My First Heading</h1>
    			<p>My first paragraph.</p>
    <HTML> is the beginning of the HTML tags.</HTML> is the end of HTML tags.
    <h1>My First Heading</h1> is the content of the "My First Heading".
    Each tag contains the beginning tag and end tag.
    There is a string, it has a lot of tags (there are no content in these tags), Now you should judge the string whether conform to the standard.
  • 输入
  • There are multiple test cases, for each case, there is just one continuous string on one line.
  • 输出
  • For each case,if the string conform to the standard, print "Yes", otherwise print "No".
  • 样例输入
  • <p><div><span><a></a></span></div></p>
  • 样例输出
  • Yes
  • 提示
  • 来源
  • Ne123123
  • 操作