#include <iostream>
#include <string>
#include <fstream>
#include <vector>
using namespace std;

struct employee
{
	string name;
	double pay_rate;
};

int ID;
void load_data(vector<employee>& v)
{
	string t;
	getline(cin, t);
	ID = stoi(string(t.begin() + t.rfind("#") + 1, t.end()));

	employee e;
	while(getline(cin >> ws, e.name, ':') >> ws >> e.pay_rate)
	{
		v.push_back(e);
	}
}

int main() {
	vector<employee> employees;
	load_data(employees);
	
	cout << "ID: " << ID << endl;
	for(auto e : employees)
		cout << e.name << ": " << e.pay_rate << endl;
	
}