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

class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		long start = System.currentTimeMillis();
		
		for (int i=0; i<300000; i++)
		{
			String a = "  54,303,14311.34320  32,03254   ".replaceAll("[,. ]*", "");
		}
		
		long end = System.currentTimeMillis();
		
		System.out.println(end-start);
		
	}
}