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

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

/* 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
	{
		long ms = TimeUnit.MINUTES.toMillis(180) + TimeUnit.SECONDS.toMillis(99);
		
		long mm = (ms / 1000) / 60;
		long ss = (ms - (mm * 60 * 1000)) / 1000;
		
		String text = String.format("%03d:%02d", mm, ss);
		System.out.println(ms + " - " + text);
	}
}