// D programming language
import std.stdio; import core.stdc.stdio; import core.stdc.string; int main() { char x[20]; fgets(&x[0],x.sizeof,null); x[strcspn(&x[0],"\n")]=0; writeln(x); if(!strcmp(&x[0],"hello world!")) { writeln("yes"); } return 0; }
// D programming language
import std.stdio; import core.stdc.stdio; import core.stdc.string; int main() { char x[20]; fgets(&x[0],x.sizeof,null); x[strcspn(&x[0],"\n")]=0; writeln(x); if(!strcmp(&x[0],"hello world!")) { writeln("yes"); } return 0; }