/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
*
* @author PsiCat
*/
public class Main
{
private const Integer SID_LIMIT = 10;
private static Main _instance;
/**
* @param args the command line arguments
*/
public static void main(String[] args) throws IOException, Exception
{
_instance = new Main();
}
public Main() throws IOException, Exception
{
String commandLine = "";
InputStreamReader converter = new InputStreamReader(System.in);
BufferedReader in = new BufferedReader(converter);
while (true)
{
commandLine = in.readLine();
if (commandLine != null)
{
String studentId = commandLine;
if (studentId.length() == SID_LIMIT)
validSID();
else
throw new Exception("Öğrenci numarası 10 karakterden oluşmalı.");
}
}
}
private void validSID()
{
System.out.println("Geçerli öğrenci numarası.");
}
}