import java.io.*; public class Mobiilihinnad2{ public static void main(String[] arg) throws IOException{ String[] firmad={"EMT", "TELE2", "RLE"}; double[] summad=new double[firmad.length]; BufferedReader sisse=new BufferedReader( new InputStreamReader(System.in) ); System.out.println("Palun andmed:"); String tekst=sisse.readLine(); while(tekst.length()>0){ int tyhik=tekst.indexOf(" "); String firma=tekst.substring(0, tyhik); double makse=Double.parseDouble(tekst.substring(tyhik+1)); for(int i=0; i