{"problem":{"name":"12/22","description":{"content":"You are given an integer $N$ that has exactly four digits in base ten. How many times does `2` occur in the base-ten representation of $N$?","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"caddi2018b_a"},"statements":[{"statement_type":"Markdown","content":"You are given an integer $N$ that has exactly four digits in base ten. How many times does `2` occur in the base-ten representation of $N$?\n\n## Constraints\n\n*   $1000 \\leq N \\leq 9999$\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"caddi2018b_a","tags":[],"sample_group":[["1222","3\n\n`2` occurs three times in `1222`. By the way, this contest is held on December $22$ (JST)."],["3456","0"],["9592","1"]],"created_at":"2026-03-03 11:01:14"}}