{"problem":{"name":"Dodecagon","description":{"content":"Snuke has infinite number of square tiles and regular triangular tiles with side lengths $1$. How many ways are there to form a regular dodecagon ($12$\\-sided polygon) with side lengths $d$ using the ","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"agc051_a"},"statements":[{"statement_type":"Markdown","content":"Snuke has infinite number of square tiles and regular triangular tiles with side lengths $1$. How many ways are there to form a regular dodecagon ($12$\\-sided polygon) with side lengths $d$ using the tiles? Compute the answer modulo $998,244,353$.\nFormally speaking,\n\n*   He can use an arbitrary number of tiles.\n*   No two tiles may overlap.\n*   The union of the regions filled by the tiles must be a regular dodecagon without holes.\n*   We consider two ways to be the same if we can change one way to the other way by rotations and translations (but not reflections), such that each tile perfectly matches with a tile of the same type.\n\n## Constraints\n\n*   $1 \\leq d \\leq 10^6$\n*   All values in the input are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$d$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"agc051_a","tags":[],"sample_group":[["1","1\n\nThe following picture shows the only way.\n![image](https://img.atcoder.jp/agc051/dad0de5f2e5c47119aa1a0da8ed28808.png)"]],"created_at":"2026-03-03 11:01:14"}}