using System;
namespace Sum_Seconds
{
internal class Program
{
static void Main(string[] args)
{
int firstTime = int.Parse(Console.ReadLine());
int secondTime = int.Parse(Console.ReadLine());
int thirdTime = int.Parse(Console.ReadLine());
int totalTime = firstTime + secondTime + thirdTime;
int minutes = totalTime / 60;
int seconds = totalTime % 60;
if (seconds < 10)
{
Console.WriteLine($"{minutes}:0{seconds}");
}
else
{
Console.WriteLine($"{minutes}:{seconds}");
}
}
}
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)