{"problem":{"name":"Beginning","description":{"content":"You are given four digits $N_1, N_2, N_3$ and $N_4$. Determine if these can be arranged into the sequence of digits \"$1974$\".","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"keyence2019_a"},"statements":[{"statement_type":"Markdown","content":"You are given four digits $N_1, N_2, N_3$ and $N_4$. Determine if these can be arranged into the sequence of digits \"$1974$\".\n\n## Constraints\n\n*   $0 \\leq N_1, N_2, N_3, N_4 \\leq 9$\n*   $N_1, N_2, N_3$ and $N_4$ are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N_1$ $N_2$ $N_3$ $N_4$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"keyence2019_a","tags":[],"sample_group":[["1 7 9 4","YES\n\nWe can get $1974$ by swapping $N_2$ and $N_3$."],["1 9 7 4","YES\n\nWe already have $1974$ before doing anything."],["1 2 9 1","NO"],["4 9 0 8","NO"]],"created_at":"2026-03-03 11:01:14"}}