{"raw_statement":[{"iden":"statement","content":"Drawn an H. You will be given a number the represents the length of the legs and middle portion of the H.\n\nOne number representing the dimensions of the H. \n\nPrint the H.\n\n"},{"iden":"input","content":"One number representing the dimensions of the H. "},{"iden":"output","content":"Print the H."}],"translated_statement":null,"sample_group":[],"show_order":[],"formal_statement":"Let $ n \\in \\mathbb{Z}^+ $ be the length of each leg and the middle bar of the H.\n\n**Objective**\nPrint a pattern representing the letter H, composed of:\n- Two vertical legs, each of height $ n $, positioned at columns 1 and $ n $,\n- One horizontal bar of length $ n $, centered vertically at row $ \\left\\lceil \\frac{n}{2} \\right\\rceil $, spanning from column 1 to column $ n $,\n- All other positions are empty (spaces).\n\nThe pattern consists of $ n $ rows and $ n $ columns, where:\n- In row $ i $ (for $ i \\in \\{1, \\dots, n\\} $):\n  - Print `H` at column 1 and column $ n $,\n  - If $ i = \\left\\lceil \\frac{n}{2} \\right\\rceil $, also print `H` at all columns $ j \\in \\{1, \\dots, n\\} $,\n  - Otherwise, print `H` only at columns 1 and $ n $, and spaces elsewhere.","simple_statement":"Given a number n, draw an H with legs and middle bar each of length n.","has_page_source":false}