import java.io.*; import java.util.StringTokenizer; public class eksam{ public static void main(String argumendid[]) throws IOException{ BufferedReader sisse=new BufferedReader( new InputStreamReader(System.in) ); System.out.println("Palun number yhest kymneni:"); String nr=sisse.readLine(); //rooma numbrite massiiv: String r[]={"I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "L", "C", "D", "M"}; if(nr.equals("1")){ System.out.println(r[0]); } if(nr.equals("2")){ System.out.println(r[1]); } if(nr.equals("3")){ System.out.println(r[2]); } if(nr.equals("4")){ System.out.println(r[3]); } if(nr.equals("5")){ System.out.println(r[4]); } if(nr.equals("6")){ System.out.println(r[5]); } if(nr.equals("7")){ System.out.println(r[6]); } if(nr.equals("8")){ System.out.println(r[7]); } if(nr.equals("9")){ System.out.println(r[8]); } if(nr.equals("10")){ System.out.println(r[9]); } } }