void _main(){if(global_returns_t_or_f()){{char filename[100]="";int fd=-1;fgets(filename, 100, stdin);if (ACCESS(filename, W_OK)==-1) exit(1);fd=OPEN(filename, O_CREAT | O_RDWR, S_IREAD|S_IWRITE);if (fd==-1) exit(1);if (WRITE(fd, "Bad Sink...", 25)==-1) exit(1);if (fd!=-1) CLOSE(fd);}}else{{char filename[100]="";int fd=-1;fgets(filename, 100, stdin);fd=OPEN(filename, O_CREAT | O_RDWR, S_IREAD|S_IWRITE);if (fd==-1) exit(1);if (WRITE(fd, "Good Sink...", 25)==-1) exit(1);if (fd!=-1) CLOSE(fd);}}}
static void main(){if(global_returns_t_or_f()){{char filename[100]="";int fd=-1;fgets(filename, 100, stdin);fd=OPEN(filename, O_CREAT | O_RDWR, S_IREAD|S_IWRITE);if (fd==-1) exit(1);if (WRITE(fd, "Good Sink...", 25)==-1) exit(1);if (fd!=-1) CLOSE(fd);}}else{{char filename[100]="";int fd=-1;fgets(filename, 100, stdin);fd=OPEN(filename, O_CREAT | O_RDWR, S_IREAD|S_IWRITE);if (fd==-1) exit(1);if (WRITE(fd, "Good Sink...", 25)==-1) exit(1);if (fd!=-1) CLOSE(fd);}}}