#! /usr/bin/env python

import sys

import csv

for line in sys.stdin:
	user, item, rating = line.strip().split(",") 
	if scale=='log':
		rating = int(log(int(rating))) + 1 
	sys.stdout.write('%s,%s\t%s\n' % (user,item,rating))





