/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		
		String result[] = new String[3];
		result[0] = "1.50,58,20";
		result[1] = "1.60,60,";
		result[2] = "1.70,80,30";
		
		for(String s : result){
        
            String pessoa[];
            pessoa = s.split(",", 3);
            System.out.println(pessoa[2]);
            
		}
		
		
	}
}