import java.io.*;
import java.net.Socket;
public class JavaClient {
public static void main (String [] args) throws IOException {
try {
Socket a = new Socket ("127.0.0.1", 8181);
BufferedWriter x = new BufferedWriter (new OutputStreamWriter (a.getOutputStream (), "UTF-8"));
x.write (args [0]);
x.flush ();
}
catch (IOException e) {
System.out.println ("What a fuck");
}
}
}