#include <string>
#include <sstream>
#include <iomanip>
#include <iostream>

std::string whatTime(const int seconds_n)
{
    std::stringstream ss;

    const int hours   = seconds_n / 3600;
    const int minutes = (seconds_n / 60) % 60;
    const int seconds = seconds_n % 60;
    
    ss << std::setfill('0');
    ss << std::setw(2) << hours << ':'
       << std::setw(2) << minutes << ':'
       << std::setw(2) << seconds;

    return ss.str();
}

int main()
{
    std::cout
        << whatTime(15) << ','
        << whatTime(30) << ','
        << whatTime(59) << ','
        << whatTime(60) << ','
        << whatTime(61) << ','
        << whatTime(119) << ','
        << whatTime(120) << ','
        << whatTime(121) << ','
        << whatTime(250) << ','
        << whatTime(350) << ','
        << whatTime(800) << ','
        << whatTime(1200) << ','
        << whatTime(35000) << '\n';
}