#!/usr/bin/env python
"""
Input will be of form:
NodeId:idNumber:iter \t currRank,prevRank,outLink1,outLink2...
"""
import sys
# nodes = {}
# avgRankDiff = 0
# maxRankDiff = -sys.maxint
# iter = 0
# for line in sys.stdin:
#     lineData = line.split('\t')
#
#     nodeData = lineData[0].split(':')
#     nodeID = int(nodeData[1])
#     iter = int(nodeData[2])
#
#     rankData = lineData[1].split(',')
#     currRank = float(rankData[0])
#     prevRank = float(rankData[1])
#
#     rankDiff =  abs(currRank - prevRank)
#     maxRankDiff = max(maxRankDiff, rankDiff)
#     nodes[nodeID] = {}
#     nodes[nodeID]['line'] = line
#     nodes[nodeID]['rankDiff'] = rankDiff
#     nodes[nodeID]['currRank'] = currRank

# if iter >= 1:
    #topRanks = sorted(nodes.items(), key=lambda x:x[1]['currRank'], reverse=True)
for i in range(20):
    print("FinalRank:%f\t%d" %(0, 0))
        #print("FinalRank:%f\t%d" %(topRanks[i][1]['currRank'], topRanks[i][0]))
# else:
#     for node, data in nodes.items():
#         sys.stdout.write(data['line'])
