package osztott4;

import java.io.IOException;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.Scanner;

public class Client {
	public static void main(String[] args) throws UnknownHostException, IOException {
		Socket s = new Socket("localhost", Server.PORT);
		PrintWriter pw = new PrintWriter(s.getOutputStream());
		pw.println(100000);
		pw.flush();
		pw.println("abs");
		pw.flush();
		//pw.close();
		Scanner sc = new Scanner(s.getInputStream());
		String a = sc.nextLine();
		System.out.println(a);
		sc.close();
	}
}
