// Copyright 2009/2010 Robert Meolic
//
// Program prikazuje vnos stringov in stevil

import java.io.*;

public class Vnos {

  public static void main(String args[]) {

    int stevilo = 0;
    String s = "";

    s = vnos_String();
    System.out.println("VNESEL SI: <"+s+">");

    stevilo = vnos_int();
    System.out.println("VNESEL SI: "+stevilo);

  }

  static String vnos_String() {

    BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

    String s = "";
    try {
      System.out.print("Vpisi poljuben stavek: ");
      s = input.readLine(); // preberemo niz znakov
    } catch (Exception e) {}

    return s;
  }

  static int vnos_int() {

    BufferedReader input = new BufferedReader(new InputStreamReader(System.in));

    int stevilo = 0;
    try {
      System.out.print("Vpisi stevilo: ");
      String s = input.readLine(); // preberemo niz znakov
      stevilo = Integer.parseInt(s); // niz znakov pretvorimo v stevilo
    } catch (Exception e) {}

    return stevilo;
  }

}

