{"problem":{"name":"Payment","description":{"content":"We will buy a product for $N$ yen (the currency of Japan) at a shop. If we use only $1000$\\-yen bills to pay the price, how much change will we receive? Assume we use the minimum number of bills requi","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc173_a"},"statements":[{"statement_type":"Markdown","content":"We will buy a product for $N$ yen (the currency of Japan) at a shop.\nIf we use only $1000$\\-yen bills to pay the price, how much change will we receive?\nAssume we use the minimum number of bills required.\n\n## Constraints\n\n*   $1 \\leq N \\leq 10000$\n*   $N$ is an integer.\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":"abc173_a","tags":[],"sample_group":[["1900","100\n\nWe will use two $1000$\\-yen bills to pay the price and receive $100$ yen in change."],["3000","0\n\nWe can pay the exact price."]],"created_at":"2026-03-03 11:01:14"}}