{"problem":{"name":"Colorful Transceivers","description":{"content":"Three people, A, B and C, are trying to communicate using transceivers. They are standing along a number line, and the coordinates of A, B and C are $a$, $b$ and $c$ (in meters), respectively. Two peo","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc097_a"},"statements":[{"statement_type":"Markdown","content":"Three people, A, B and C, are trying to communicate using transceivers. They are standing along a number line, and the coordinates of A, B and C are $a$, $b$ and $c$ (in meters), respectively. Two people can directly communicate when the distance between them is at most $d$ meters. Determine if A and C can communicate, either directly or indirectly. Here, A and C can indirectly communicate when A and B can directly communicate and also B and C can directly communicate.\n\n## Constraints\n\n*   $1$ $≤$ $a,b,c$ $≤$ $100$\n*   $1$ $≤$ $d$ $≤$ $100$\n*   All values in input are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$a$ $b$ $c$ $d$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc097_a","tags":[],"sample_group":[["4 7 9 3","Yes\n\nA and B can directly communicate, and also B and C can directly communicate, so we should print `Yes`."],["100 10 1 2","No\n\nThey cannot communicate in this case."],["10 10 10 1","Yes\n\nThere can be multiple people at the same position."],["1 100 2 10","Yes"]],"created_at":"2026-03-03 11:01:14"}}