Advertisement
PikMike

Untitled

Apr 6th, 2017
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 81.15 KB | None | 0 0
  1. import urllib.request
  2. import json
  3. import time
  4. import calendar
  5.  
  6. def getDate(s, t):
  7.     res = time.strptime(s + ' ' + t, "%d/%m/%Y %H:%M:%S")
  8.     return calendar.timegm(res)
  9.  
  10. '''
  11. users = []
  12. actions = []
  13.  
  14. for i in open("output.txt"):
  15.     s = i.split()
  16.     if (s[-1] != '-'):
  17.         if (s[-1] not in users):
  18.             users.append(s[-1])
  19.         actions.append([getDate(s[0], s[1]), s[2], s[-1]])
  20.  
  21. ratings = {}
  22. rating = {}
  23.  
  24. contests = []
  25.  
  26. for user in users:
  27.     print(user)
  28.     with urllib.request.urlopen("http://codeforces.com/api/user.rating?handle=" + user) as response:
  29.         html = str(response.read())[2:-1].replace('\\x', '.')
  30.         tmp = json.loads(html)["result"]
  31.         ratings[user] = []
  32.         for contest in tmp:
  33.             ratings[user].append([contest["contestId"], contest["oldRating"]])
  34.             if (contest["contestId"] not in contests):
  35.                 contests.append(contest["contestId"])
  36.         if (len(tmp) > 0):
  37.             rating[user] = tmp[-1]["newRating"]
  38.         else:
  39.             rating[user] = 1500
  40.     time.sleep(0.3)
  41.    
  42.  
  43.  
  44. contests.sort()
  45. contests = contests[::-1]
  46.  
  47. '''
  48.  
  49. rating = {'dimas.kovas': 2263, 'Slamur': 2171, 'MakArtKar': 1611, 'hey_boris': 2116, 'romanasa': 2072, 'krock21': 2229, 'ivankrut856': 1937, 'eriksa': 1685, 'Romanchenko': 1718, 'ice_tea': 1771, 'atem_111': 1740, 'MRedor': 1797, 'demon1999': 2455, 'zloyplace35': 2065, 'KSergey': 1213, 'Bobrosoft': 2026, 'disa': 1609, 'hloya_ygrt': 2208, 'netman': 2194, 'Starcall': 1786, 'Domonion': 1939, 'kosa_98': 2063, 'Qwerty132': 1939, 'RostVel': 2082, 'Khusainov': 2044, 'menshikov': 1293, 'Dogzik': 1629, '__KPbIMCKuY___TaTaPuH__': 2028, 'dammit': 1886, 'super_azbuka': 2100, 'PikMike': 1960, 'dani_bw': 1918, 'josdas': 2442, 'Maslov': 1757, 'mrworker27': 1795, 'ismagilov.code': 1867, 'Vitalya': 1799, 'glebodin': 1519, 'BledDest': 1925, 'Bober': 1631, 'alkurmtl': 1798, 's.egorov': 2020, 'winnerforer': 1492, 'liriKl': 1698, 'equocredite': 1824, 'trilis': 2124, 'dima.13': 1934, 'pershik': 2109, 'Vladik': 2036, 'manoprenko': 2233, 'Mary_live': 1813, 'gostkin': 1448, 'NedoL': 1921, 'sslotin': 2182, 'ypavel31': 1974, 'BLIZZARD': 1987, 'AlvinMax': 1877, 'Andreikkaa': 2037, 'gainullin.ildar': 2159, 'Xrite': 1924, 'qoo2p5': 2133, 'Posos': 1640, 'sliva': 1411, '0n25': 1991, 'wafemand': 1639, 'dezdichado': 1445, 'DoomzDay': 1719, 'dan.io': 1888, 'I_love_Margot_Robbie': 2240, 'Denisson': 2029, 'Melnik': 2153, 'SpyCheese': 2668, 'TyomaR': 2088, 'alexxx998': 1609, 'Niko': 2213, 'gritukan': 2626, 'V--o_o--V': 2884, 'senek_K': 2185, 'r_0_P_i_Jl_K_A': 2076, 'Yukiko': 1500, 'BudAlNik': 2545, 'Omrigan': 1595, 'SiERic': 2032, 'Platinumda': 1354, 'Yury_Bandarchuk': 2087, 'Whizzpered': 1500, 'Ershov_Oleg': 1500, 'poegva': 1856, 'PoDuReM': 2245, 'aytel': 2123, 'OTTEBROT': 2011, 'Kniaz': 1907, 'romanasa3': 1857, 'Schemtschik': 2078, 'den2204': 2205, 'w8_m8': 1669, 'igor.glushkov': 1967, 'PalchikovNick': 1574, 'checkm4te': 1535, 'Aphanasiy': 1929, 'grumpy_gordon': 2327, 'Alexponomarev7': 1978, 'IsmagilS': 2012, 'Farhit': 2111}
  50. #open("tmp1.txt", "w").write(str(rating))
  51. ratings = {'dimas.kovas': [[599, 1500], [602, 1412], [604, 1417], [615, 1571], [614, 1646], [648, 1715], [639, 1817], [641, 1828], [667, 1817], [670, 1705], [672, 1783], [675, 1778], [680, 1855], [687, 1907], [689, 1867], [700, 1917], [708, 1931], [713, 2059], [722, 2040], [724, 2204], [727, 2159], [739, 2198], [736, 2106], [744, 2020], [750, 1977], [755, 1959], [768, 2138], [776, 2084], [778, 2017], [780, 2131], [771, 2241]], 'Slamur': [[48, 1500], [49, 1392], [51, 1495], [54, 1567], [55, 1504], [56, 1426], [57, 1577], [60, 1504], [65, 1632], [66, 1552], [67, 1729], [68, 1701], [69, 1625], [70, 1688], [71, 1636], [75, 1559], [80, 1628], [78, 1595], [79, 1633], [81, 1770], [82, 1643], [84, 1552], [88, 1614], [90, 1600], [92, 1572], [94, 1554], [96, 1538], [104, 1563], [105, 1584], [107, 1747], [109, 1701], [111, 1668], [114, 1631], [116, 1579], [122, 1645], [123, 1651], [127, 1659], [129, 1674], [131, 1596], [132, 1715], [135, 1761], [138, 1758], [140, 1710], [142, 1814], [145, 1830], [150, 1874], [154, 1836], [156, 1924], [161, 1893], [173, 2055], [176, 1941], [178, 1861], [191, 1769], [193, 1762], [196, 1823], [198, 1754], [204, 1720], [217, 1832], [220, 1927], [226, 1843], [229, 1786], [232, 1796], [235, 1825], [241, 1780], [249, 1726], [251, 1805], [261, 1787], [264, 1860], [269, 1871], [274, 1786], [277, 1881], [283, 1981], [288, 1886], [292, 1908], [293, 1953], [303, 1965], [314, 1899], [317, 1828], [321, 1770], [325, 1841], [338, 1932], [354, 1891], [364, 1844], [372, 1878], [377, 1969], [379, 1902], [403, 1962], [406, 2016], [414, 1969], [429, 1964], [452, 1979], [455, 1916], [472, 2063], [475, 2197], [477, 2075], [480, 2019], [487, 2054], [494, 2115], [497, 2033], [498, 2176], [500, 2087], [504, 2162], [512, 2184], [513, 2141], [516, 2059], [528, 1946], [524, 1911], [526, 2023], [536, 1923], [532, 2002], [538, 1953], [542, 1996], [543, 2054], [568, 2205], [571, 2146], [573, 2092], [576, 2068], [578, 1991], [582, 2028], [585, 2058], [587, 2094], [590, 2040], [605, 2045], [611, 2058], [618, 2021], [634, 1942], [650, 1995], [645, 2024], [639, 2042], [641, 2131], [643, 2147], [679, 2087], [687, 2056], [696, 2014], [698, 2080], [704, 2038], [713, 2102], [722, 2088], [724, 2133], [725, 2163], [737, 2099], [739, 2056], [744, 2113], [750, 2141], [757, 2060], [763, 2093], [776, 2139], [771, 2164]], 'MakArtKar': [[707, 1500], [711, 1551], [714, 1525], [727, 1513], [729, 1566], [748, 1512], [764, 1621], [766, 1697], [771, 1662]], 'hey_boris': [[236, 1500], [245, 1445], [246, 1399], [248, 1360], [255, 1511], [260, 1427], [278, 1456], [281, 1550], [284, 1490], [296, 1435], [313, 1423], [340, 1379], [347, 1459], [349, 1667], [350, 1613], [351, 1705], [367, 1746], [369, 1678], [372, 1735], [376, 1668], [379, 1614], [407, 1804], [429, 1732], [438, 1781], [446, 1743], [450, 1666], [480, 1708], [516, 1820], [528, 1791], [524, 1797], [526, 1807], [536, 2019], [532, 1946], [538, 1983], [547, 2084], [549, 2020], [555, 1949], [559, 1841], [568, 1971], [573, 1881], [582, 1915], [603, 1981], [611, 2079], [623, 1995], [634, 2091], [645, 2068], [649, 2082], [639, 2146], [641, 2191], [666, 2141], [674, 2137], [671, 2202], [679, 2233], [687, 2189], [696, 2191], [708, 2193], [713, 2246], [737, 2285], [736, 2295], [744, 2259], [757, 2264], [759, 2231], [768, 2170], [776, 2183], [771, 2169], [786, 2154]], 'romanasa': [[435, 1500], [439, 1422], [452, 1483], [456, 1510], [463, 1499], [465, 1502], [466, 1610], [467, 1509], [476, 1407], [478, 1329], [479, 1464], [489, 1659], [488, 1575], [512, 1704], [513, 1667], [514, 1620], [529, 1713], [559, 1766], [569, 1694], [573, 1764], [577, 1687], [578, 1702], [583, 1703], [599, 1704], [602, 1677], [608, 1669], [611, 1700], [615, 1843], [617, 1788], [634, 1936], [639, 1913], [641, 2029], [643, 2012], [780, 2015], [771, 1995]], 'krock21': [[546, 1500], [552, 1627], [555, 1725], [557, 1642], [567, 1628], [569, 1597], [570, 1624], [577, 1546], [579, 1636], [581, 1565], [583, 1665], [584, 1653], [586, 1647], [588, 1666], [593, 1646], [596, 1639], [599, 1571], [602, 1723], [604, 1742], [608, 1700], [610, 1699], [611, 1649], [615, 1610], [614, 1660], [617, 1857], [618, 1827], [624, 1819], [626, 1963], [645, 1904], [648, 1863], [639, 2026], [641, 1972], [643, 1960], [679, 2038], [696, 1965], [705, 1893], [708, 1969], [715, 1937], [719, 1849], [727, 1965], [725, 2050], [736, 2026], [744, 1971], [750, 2029], [755, 2110], [763, 2140], [765, 2034], [780, 2306], [786, 2292]], 'ivankrut856': [[545, 1500], [556, 1432], [567, 1375], [569, 1468], [570, 1574], [578, 1706], [580, 1623], [581, 1555], [583, 1492], [584, 1498], [586, 1450], [588, 1401], [592, 1336], [593, 1507], [596, 1527], [599, 1528], [602, 1484], [614, 1535], [645, 1679], [648, 1732], [649, 1668], [639, 1768], [659, 1833], [641, 1870], [667, 1771], [670, 1738], [673, 1774], [672, 1800], [675, 1772], [676, 1847], [680, 1772], [681, 1800], [685, 1952], [688, 1857], [689, 1871], [697, 1832], [699, 1855], [701, 1898], [708, 1915], [711, 1867], [714, 1858], [715, 1997], [729, 1947], [741, 2026], [744, 2093], [750, 2069], [768, 2009], [780, 1982], [771, 2019]], 'eriksa': [[569, 1500], [593, 1410], [771, 1670]], 'Romanchenko': [[467, 1500], [471, 1398], [478, 1309], [499, 1221], [500, 1182], [513, 1252], [534, 1197], [538, 1150], [557, 1260], [567, 1384], [572, 1480], [580, 1600], [583, 1644], [588, 1619], [608, 1593], [611, 1534], [651, 1498], [648, 1471], [639, 1547], [705, 1446], [727, 1608], [750, 1764]], 'ice_tea': [[645, 1500], [653, 1441], [648, 1401], [639, 1495], [659, 1421], [669, 1409], [670, 1401], [672, 1447], [675, 1472], [677, 1510], [680, 1509], [681, 1603], [682, 1624], [686, 1593], [688, 1633], [689, 1642], [697, 1527], [699, 1537], [701, 1571], [707, 1537], [714, 1482], [716, 1502], [719, 1611], [727, 1709], [732, 1765], [733, 1781], [738, 1733], [749, 1770], [752, 1806], [750, 1744], [754, 1746], [755, 1672], [760, 1682], [768, 1682], [776, 1702], [777, 1650], [780, 1646], [791, 1646], [787, 1714]], 'atem_111': [[569, 1500], [570, 1568], [577, 1664], [579, 1690], [580, 1619], [592, 1710], [611, 1738], [629, 1682], [635, 1625]], 'MRedor': [[404, 1500], [405, 1412], [432, 1319], [439, 1258], [460, 1182], [463, 1428], [476, 1591], [478, 1495], [495, 1395], [496, 1430], [509, 1531], [519, 1473], [538, 1482], [648, 1395], [716, 1529], [723, 1544], [727, 1554], [731, 1593], [733, 1566], [729, 1671], [745, 1744], [747, 1697], [749, 1643], [764, 1730], [780, 1745], [771, 1701]], 'demon1999': [[353, 1500], [404, 1410], [439, 1602], [467, 1559], [469, 1611], [477, 1736], [487, 1866], [494, 1866], [497, 1809], [512, 1915], [513, 2012], [524, 2014], [532, 2036], [541, 2139], [549, 2100], [555, 2062], [559, 2097], [566, 1981], [568, 1903], [571, 2002], [573, 2083], [576, 1968], [578, 1922], [601, 1989], [611, 1911], [613, 1945], [623, 2053], [633, 2040], [634, 2120], [645, 2115], [653, 2100], [648, 2071], [639, 2127], [641, 2264], [674, 2172], [671, 2174], [679, 2237], [685, 2197], [687, 2184], [704, 2142], [708, 2229], [713, 2384], [715, 2397], [727, 2390], [750, 2439], [763, 2427], [768, 2357], [776, 2366], [780, 2346], [771, 2488]], 'zloyplace35': [[608, 1500], [611, 1599], [615, 1663], [614, 1636], [618, 1930], [645, 1972], [648, 1957], [639, 1964], [641, 2085], [643, 2096], [725, 2103], [739, 2060], [750, 2009], [755, 1963], [759, 1969], [763, 1921], [776, 1946], [779, 1888], [781, 1904], [785, 1863], [771, 1798], [788, 1905]], 'KSergey': [[471, 1500], [584, 1402], [606, 1315]], 'Bobrosoft': [[350, 1500], [365, 1507], [483, 1413], [489, 1524], [488, 1637], [494, 1728], [496, 1654], [499, 1600], [506, 1740], [507, 1694], [508, 1624], [516, 1715], [527, 1670], [524, 1758], [536, 1886], [532, 1843], [538, 1878], [541, 2002], [543, 1975], [547, 1934], [553, 1883], [573, 1994], [585, 1931], [590, 1914], [618, 1979], [623, 2043], [626, 2077], [633, 2126], [634, 2094], [645, 2116], [653, 2131], [639, 2079], [641, 1997], [674, 2016], [679, 1941], [737, 2053], [771, 2009]], 'disa': [[136, 1500], [224, 1437], [230, 1362], [378, 1278], [379, 1264], [431, 1276], [437, 1473], [467, 1384], [515, 1634], [524, 1714], [532, 1800], [617, 1746], [639, 1702], [659, 1705], [641, 1792], [672, 1761], [676, 1736], [716, 1696], [722, 1619], [749, 1620], [771, 1645]], 'hloya_ygrt': [[510, 1500], [514, 1408], [519, 1318], [552, 1418], [569, 1558], [570, 1468], [572, 1501], [574, 1421], [579, 1623], [580, 1553], [583, 1556], [584, 1477], [586, 1469], [588, 1440], [593, 1516], [599, 1483], [602, 1553], [604, 1651], [606, 1694], [608, 1639], [610, 1632], [611, 1709], [615, 1710], [614, 1650], [617, 1678], [618, 1618], [621, 1564], [624, 1602], [625, 1726], [626, 1743], [629, 1753], [633, 1833], [635, 1877], [631, 1886], [653, 1876], [639, 1948], [641, 1988], [666, 2008], [674, 1948], [679, 2032], [685, 2039], [687, 2113], [713, 2106], [724, 2108], [725, 2082], [729, 2033], [739, 2168], [741, 2247], [755, 2275], [768, 2208], [776, 2270], [780, 2266], [771, 2265]], 'netman': [[148, 1500], [149, 1440], [151, 1389], [152, 1393], [155, 1330], [160, 1340], [166, 1286], [225, 1206], [230, 1202], [231, 1152], [233, 1105], [237, 1186], [245, 1340], [246, 1271], [248, 1350], [252, 1473], [254, 1391], [259, 1319], [260, 1403], [257, 1451], [262, 1444], [265, 1365], [266, 1371], [268, 1556], [271, 1514], [272, 1518], [275, 1649], [276, 1574], [278, 1669], [279, 1581], [281, 1683], [282, 1664], [284, 1610], [285, 1539], [287, 1582], [289, 1634], [294, 1580], [292, 1539], [298, 1670], [299, 1623], [300, 1688], [304, 1640], [313, 1644], [315, 1596], [318, 1645], [322, 1691], [325, 1729], [331, 1851], [335, 1904], [343, 1881], [346, 1799], [348, 1835], [351, 1766], [353, 1699], [354, 1777], [360, 1705], [362, 1671], [365, 1602], [367, 1744], [372, 1783], [375, 1954], [377, 1981], [379, 1915], [380, 1965], [383, 1899], [388, 1984], [403, 1924], [406, 1885], [407, 1911], [414, 1882], [418, 2007], [429, 2135], [434, 2033], [436, 1981], [442, 1917], [444, 1954], [452, 2010], [453, 2091], [458, 2192], [461, 2189], [464, 2170], [472, 2220], [475, 2254], [477, 2131], [480, 2165], [482, 2260], [487, 2309], [494, 2238], [497, 2235], [498, 2323], [500, 2343], [512, 2296], [513, 2225], [516, 2333], [528, 2264], [524, 2312], [526, 2322], [536, 2424], [532, 2505], [541, 2457], [543, 2410], [547, 2437], [549, 2485], [553, 2557], [555, 2482], [559, 2418], [568, 2484], [571, 2412], [576, 2305], [578, 2233], [582, 2225], [587, 2203], [603, 2263], [605, 2283], [611, 2259], [613, 2313], [618, 2357], [623, 2467], [626, 2405], [634, 2365], [650, 2296], [645, 2439], [653, 2447], [639, 2490], [662, 2522], [641, 2436], [643, 2355], [671, 2325], [679, 2346], [685, 2335], [687, 2255], [696, 2286], [698, 2232], [700, 2234], [704, 2147], [708, 2279], [713, 2299], [715, 2464], [722, 2586], [724, 2466], [725, 2443], [739, 2433], [736, 2569], [741, 2571], [744, 2602], [750, 2625], [757, 2558], [755, 2527], [759, 2413], [763, 2446], [765, 2405], [776, 2252], [771, 2233]], 'Starcall': [[510, 1500], [514, 1412], [570, 1322], [574, 1303], [577, 1354], [579, 1523], [580, 1453], [588, 1482], [602, 1486], [608, 1496], [614, 1533], [617, 1642], [621, 1766], [624, 1840], [626, 1827], [633, 1791], [635, 1800], [631, 1793], [645, 1655], [639, 1674], [659, 1651], [641, 1625], [667, 1692], [670, 1797], [675, 1859], [704, 1924], [706, 1861], [716, 1881], [732, 1834], [735, 1883], [743, 1843], [768, 1839], [776, 1766], [777, 1804]], 'Domonion': [[492, 1500], [493, 1453], [495, 1495], [496, 1395], [499, 1404], [501, 1324], [505, 1328], [507, 1246], [508, 1275], [509, 1559], [510, 1457], [560, 1647], [577, 1614], [579, 1648], [580, 1601], [581, 1632], [583, 1548], [584, 1553], [592, 1478], [596, 1515], [608, 1503], [611, 1476], [615, 1433], [614, 1456], [629, 1499], [651, 1560], [645, 1572], [670, 1563], [673, 1673], [680, 1741], [681, 1739], [682, 1652], [697, 1619], [699, 1534], [709, 1611], [714, 1651], [716, 1737], [719, 1816], [721, 1778], [722, 1780], [727, 1813], [732, 1894], [725, 1911], [739, 2024], [736, 2010], [741, 1963], [744, 1939], [765, 1931], [768, 1896], [776, 1883], [780, 1853]], 'kosa_98': [[384, 1500], [436, 1566], [493, 1465], [524, 1646], [525, 1671], [580, 1596], [602, 1692], [606, 1885], [611, 1868], [615, 1867], [613, 1939], [645, 1997], [648, 1948], [639, 1907], [679, 1937], [685, 2040], [713, 1956], [716, 1883], [736, 2008], [771, 1983]], 'Qwerty132': [[580, 1500], [581, 1433], [584, 1338], [592, 1385], [593, 1324], [596, 1228], [602, 1201], [604, 1271], [611, 1302], [614, 1356], [618, 1271], [621, 1364], [624, 1449], [625, 1524], [626, 1586], [633, 1453], [635, 1518], [631, 1543], [645, 1591], [639, 1583], [659, 1595], [669, 1673], [667, 1689], [670, 1775], [673, 1850], [672, 1843], [675, 1799], [676, 1775], [681, 1737], [688, 1685], [697, 1734], [699, 1786], [701, 1773], [709, 1770], [711, 1711], [714, 1753], [724, 1748], [727, 1839], [731, 1868], [725, 1989], [737, 1998], [739, 1927], [736, 1966], [741, 1956], [744, 1998], [750, 1975], [757, 1947], [755, 1871], [758, 1878], [759, 1946], [787, 1897]], 'RostVel': [[426, 1500], [427, 1421], [431, 1370], [439, 1312], [462, 1243], [463, 1236], [465, 1254], [466, 1358], [467, 1447], [471, 1346], [472, 1557], [475, 1463], [474, 1477], [478, 1608], [479, 1506], [483, 1688], [489, 1670], [496, 1574], [500, 1725], [513, 1781], [524, 1786], [532, 1893], [538, 1823], [543, 1838], [549, 1866], [555, 1776], [559, 1803], [576, 1701], [581, 1695], [588, 1785], [596, 1794], [599, 1842], [602, 1846], [603, 1901], [608, 1854], [611, 2008], [613, 2004], [618, 2026], [623, 2075], [626, 2135], [633, 2140], [634, 1988], [645, 1988], [653, 2003], [648, 2029], [649, 2186], [639, 2187], [641, 2191], [666, 2207], [643, 2241], [671, 2201], [679, 2089], [685, 2163], [687, 2180], [713, 2093], [771, 2075]], 'Khusainov': [[515, 1500], [527, 1415], [524, 1363], [525, 1306], [570, 1241], [574, 1224], [577, 1390], [583, 1308], [584, 1335], [588, 1305], [611, 1221], [615, 1249], [617, 1315], [621, 1391], [624, 1371], [626, 1352], [633, 1477], [635, 1442], [631, 1435], [645, 1451], [653, 1403], [648, 1324], [639, 1507], [669, 1498], [670, 1509], [673, 1569], [672, 1619], [675, 1725], [676, 1731], [677, 1756], [681, 1728], [686, 1737], [699, 1721], [701, 1689], [705, 1727], [706, 1720], [707, 1796], [709, 1786], [714, 1771], [716, 1706], [719, 1673], [721, 1687], [723, 1722], [724, 1801], [727, 1738], [741, 1922], [757, 1909], [780, 1917], [785, 1812], [771, 1843], [787, 1850]], 'menshikov': [[545, 1500], [546, 1413], [550, 1327], [551, 1252], [557, 1179], [584, 1107], [586, 1032], [588, 960], [591, 955], [604, 933], [608, 1020], [610, 1024], [611, 932], [615, 845], [614, 1057], [621, 1173], [629, 1074], [633, 1100], [651, 1114], [649, 1148], [639, 1241], [670, 1244], [673, 1202], [677, 1099], [680, 1074], [681, 1222], [688, 1232], [699, 1209], [701, 1229], [706, 1209], [707, 1291], [709, 1413], [711, 1365], [716, 1345], [734, 1252], [729, 1305], [740, 1389], [735, 1405], [748, 1369], [754, 1462], [760, 1467], [777, 1345], [779, 1331], [785, 1335], [791, 1295]], 'Dogzik': [[569, 1500], [577, 1536], [579, 1672], [617, 1622]], '__KPbIMCKuY___TaTaPuH__': [[721, 1500], [722, 1403], [723, 1480], [732, 1525], [725, 1762], [734, 1783], [740, 1782], [735, 1770], [743, 1754], [748, 1806], [771, 1874], [787, 1894]], 'dammit': [[602, 1500], [615, 1457], [614, 1371], [645, 1529], [648, 1550], [639, 1588], [680, 1552], [688, 1559], [709, 1662], [711, 1677], [716, 1716], [727, 1684], [732, 1762], [733, 1868], [734, 1820], [735, 1850], [743, 1851], [771, 1905]], 'super_azbuka': [[347, 1500], [350, 1411], [401, 1349], [402, 1518], [432, 1469], [475, 1403], [489, 1324], [556, 1383], [567, 1636], [569, 1682], [580, 1631], [583, 1719], [584, 1658], [596, 1725], [599, 1634], [602, 1683], [611, 1668], [614, 1692], [618, 1740], [621, 1727], [624, 1732], [626, 1673], [645, 1699], [653, 1671], [639, 1785], [659, 1830], [641, 1908], [687, 1920], [713, 1932], [727, 2031], [741, 1997], [757, 1973], [781, 1966], [771, 2024], [786, 2031]], 'PikMike': [[373, 1500], [378, 1408], [381, 1317], [382, 1244], [384, 1417], [387, 1363], [401, 1272], [405, 1195], [416, 1191], [412, 1142], [413, 1169], [427, 1121], [439, 1058], [451, 1008], [452, 945], [454, 1016], [462, 956], [465, 977], [466, 1094], [467, 1037], [469, 1136], [471, 1177], [472, 1202], [476, 1104], [478, 1035], [489, 1094], [488, 1288], [492, 1192], [493, 1337], [495, 1287], [499, 1192], [508, 1123], [509, 1272], [510, 1544], [513, 1459], [514, 1473], [515, 1561], [518, 1479], [519, 1402], [527, 1347], [524, 1409], [526, 1385], [534, 1307], [535, 1215], [538, 1319], [544, 1286], [545, 1267], [546, 1423], [548, 1513], [550, 1425], [549, 1491], [551, 1563], [552, 1468], [554, 1578], [556, 1491], [557, 1475], [558, 1587], [560, 1490], [567, 1511], [577, 1531], [579, 1660], [583, 1702], [584, 1696], [588, 1679], [591, 1690], [592, 1665], [593, 1613], [596, 1547], [599, 1541], [602, 1565], [606, 1631], [610, 1642], [611, 1579], [615, 1627], [614, 1691], [617, 1761], [624, 1760], [625, 1645], [626, 1637], [633, 1620], [635, 1555], [631, 1613], [645, 1639], [648, 1626], [639, 1674], [641, 1637], [680, 1610], [681, 1748], [686, 1805], [688, 1764], [697, 1727], [699, 1763], [705, 1719], [706, 1706], [707, 1733], [711, 1691], [714, 1779], [721, 1846], [724, 1834], [725, 1930], [737, 2028], [739, 2075], [736, 1988], [744, 1907], [750, 1925], [757, 1922], [759, 1905], [763, 1901], [766, 1818], [765, 1821], [768, 1916], [776, 1825], [779, 1806], [781, 1901], [785, 1859], [771, 1857], [787, 1852], [788, 1943]], 'dani_bw': [[648, 1500], [649, 1478], [672, 1439], [675, 1441], [680, 1503], [681, 1559], [682, 1572], [706, 1626], [707, 1665], [714, 1773], [716, 1720], [719, 1689], [721, 1735], [727, 1702], [725, 1813], [734, 1759], [729, 1805], [740, 1856], [736, 1936], [744, 2004], [755, 2016], [765, 1967], [780, 1893], [771, 1900]], 'josdas': [[400, 1500], [401, 1668], [459, 1574], [464, 1732], [468, 1770], [472, 1709], [487, 1918], [497, 1825], [498, 1990], [500, 1986], [504, 1894], [512, 1818], [528, 1957], [524, 2096], [538, 2228], [541, 2197], [543, 2161], [547, 2213], [549, 2150], [555, 2123], [559, 2067], [566, 1963], [571, 2097], [576, 2000], [578, 1940], [582, 1977], [601, 2022], [611, 2078], [623, 2129], [626, 2139], [633, 2182], [639, 2251], [641, 2367], [643, 2350], [679, 2353], [685, 2334], [687, 2364], [696, 2351], [698, 2257], [704, 2393], [708, 2386], [713, 2401], [722, 2370], [741, 2386], [763, 2352], [771, 2360]], 'Maslov': [[593, 1500], [596, 1391], [602, 1397], [606, 1468], [608, 1582], [614, 1600], [621, 1584], [633, 1556], [631, 1474], [669, 1522], [670, 1615], [711, 1670], [714, 1680], [719, 1767], [721, 1762], [723, 1689], [733, 1668], [734, 1647], [729, 1674], [748, 1701], [785, 1687], [771, 1738], [787, 1758]], 'mrworker27': [[617, 1500], [618, 1413], [621, 1298], [624, 1191], [626, 1197], [629, 1281], [633, 1214], [635, 1227], [631, 1266], [651, 1277], [648, 1173], [649, 1246], [639, 1313], [667, 1205], [673, 1218], [672, 1279], [675, 1213], [677, 1304], [680, 1354], [681, 1470], [686, 1346], [688, 1319], [707, 1389], [709, 1422], [714, 1449], [721, 1524], [734, 1606], [729, 1641], [740, 1647], [743, 1700], [745, 1801], [748, 1821], [768, 1756], [776, 1730], [777, 1718], [779, 1734], [780, 1861]], 'ismagilov.code': [[583, 1500], [606, 1451], [608, 1339], [610, 1303], [614, 1308], [617, 1227], [631, 1235], [658, 1314], [659, 1392], [669, 1439], [670, 1411], [673, 1430], [672, 1479], [675, 1461], [676, 1521], [677, 1590], [680, 1597], [682, 1708], [686, 1726], [688, 1666], [689, 1646], [709, 1716], [711, 1694], [714, 1634], [716, 1771], [719, 1779], [721, 1882], [727, 1851], [725, 1817], [729, 1816], [740, 1858], [742, 1893], [768, 1973], [776, 1923], [780, 1875], [785, 1849], [771, 1787]], 'Vitalya': [[618, 1500], [621, 1522], [624, 1571], [626, 1623], [629, 1683], [633, 1642], [658, 1626], [667, 1598], [677, 1527], [680, 1566], [681, 1664], [682, 1682], [705, 1673], [706, 1694], [707, 1712], [709, 1673], [711, 1679], [732, 1664], [725, 1806], [734, 1860], [735, 1851], [742, 1886], [744, 1998], [757, 1949], [755, 1956], [763, 1961], [768, 1907], [776, 1890], [777, 1846], [782, 1782], [785, 1861], [771, 1799]], 'glebodin': [[626, 1500], [629, 1377], [633, 1371], [635, 1358], [645, 1256], [649, 1270], [639, 1369], [669, 1374], [667, 1381], [675, 1270], [688, 1339], [697, 1388], [701, 1424], [706, 1443], [711, 1543], [714, 1633], [716, 1620], [721, 1510], [724, 1525], [727, 1652], [732, 1632], [725, 1550], [733, 1598], [734, 1612], [729, 1523], [740, 1669], [745, 1671], [752, 1650], [750, 1608], [755, 1580], [768, 1506], [780, 1582], [771, 1557]], 'BledDest': [[577, 1500], [631, 1648], [724, 1698], [738, 1866], [776, 1945], [771, 1950]], 'Bober': [[591, 1500], [592, 1435], [593, 1374], [611, 1346], [635, 1318], [648, 1273], [639, 1391], [659, 1286], [669, 1324], [667, 1465], [670, 1411], [673, 1500], [672, 1523], [675, 1525], [688, 1474], [689, 1408], [707, 1314], [709, 1361], [711, 1341], [724, 1441], [727, 1430], [725, 1515], [733, 1593], [734, 1728], [729, 1794], [740, 1849], [735, 1862], [750, 1815], [757, 1714], [755, 1724], [760, 1817], [768, 1763], [787, 1705]], 'alkurmtl': [[492, 1500], [493, 1404], [507, 1331], [508, 1349], [509, 1555], [510, 1533], [518, 1488], [583, 1447], [584, 1452], [599, 1458], [611, 1480], [615, 1464], [624, 1371], [648, 1483], [649, 1582], [667, 1634], [689, 1628], [729, 1675], [780, 1722]], 's.egorov': [[436, 1500], [465, 1398], [469, 1310], [471, 1244], [478, 1345], [483, 1252], [486, 1167], [489, 1474], [492, 1620], [496, 1548], [516, 1733], [528, 1707], [524, 1670], [526, 1618], [534, 1611], [540, 1657], [544, 1604], [545, 1512], [554, 1664], [573, 1706], [579, 1643], [580, 1605], [584, 1664], [588, 1701], [591, 1664], [604, 1616], [610, 1481], [611, 1454], [615, 1528], [614, 1725], [617, 1775], [624, 1798], [629, 1749], [648, 1827], [639, 1767], [641, 1763], [714, 1806], [721, 1897], [724, 1946], [727, 2014], [755, 2096], [759, 2023], [780, 2024], [771, 1990]], 'winnerforer': [[510, 1500], [513, 1400], [514, 1470], [519, 1586], [524, 1495], [534, 1442], [540, 1349], [546, 1384], [554, 1500], [567, 1543], [579, 1593], [581, 1523], [584, 1492], [591, 1466], [592, 1487], [599, 1548], [611, 1482], [629, 1492], [639, 1531], [659, 1477], [667, 1453], [677, 1491], [680, 1469], [681, 1480], [686, 1585], [705, 1632], [707, 1575], [716, 1600], [727, 1539], [750, 1626], [758, 1665], [780, 1557], [791, 1473], [787, 1619]], 'liriKl': [[758, 1500], [764, 1627], [785, 1665], [771, 1597], [787, 1660]], 'equocredite': [[645, 1500], [648, 1417], [649, 1419], [639, 1462], [667, 1353], [670, 1281], [675, 1369], [676, 1408], [677, 1403], [680, 1488], [681, 1506], [682, 1514], [686, 1519], [688, 1583], [705, 1614], [706, 1557], [709, 1595], [711, 1559], [714, 1555], [719, 1640], [723, 1702], [732, 1725], [725, 1694], [729, 1721], [743, 1803], [746, 1702], [752, 1714], [750, 1752], [757, 1762], [755, 1770], [758, 1750], [765, 1768], [768, 1792], [780, 1811], [771, 1800], [787, 1766]], 'trilis': [[369, 1500], [371, 1574], [373, 1627], [402, 1534], [447, 1442], [456, 1530], [478, 1492], [488, 1609], [490, 1697], [492, 1603], [493, 1505], [501, 1662], [513, 1666], [516, 1786], [524, 1776], [526, 1781], [532, 1898], [538, 1856], [549, 1946], [571, 1988], [573, 1983], [584, 1869], [586, 1837], [587, 1926], [601, 1914], [604, 1851], [606, 1833], [611, 1895], [613, 1937], [623, 1964], [625, 1875], [626, 1953], [633, 1943], [645, 1984], [649, 2013], [639, 2070], [641, 2124], [750, 2089], [757, 2187], [755, 2153], [759, 2043], [768, 2027], [776, 2007], [771, 1988]], 'dima.13': [[287, 1500], [289, 1415], [318, 1329], [353, 1247], [363, 1253], [368, 1204], [369, 1374], [371, 1301], [382, 1245], [417, 1391], [439, 1444], [441, 1537], [460, 1597], [463, 1636], [486, 1581], [500, 1579], [501, 1584], [505, 1519], [515, 1698], [524, 1626], [536, 1760], [532, 1893], [549, 1844], [559, 1924], [573, 1809], [611, 1937], [623, 1935], [626, 1968], [634, 1981], [639, 1918], [641, 1970], [704, 2023], [713, 2003], [725, 1976], [750, 1966], [757, 1951], [759, 1951], [763, 1933], [768, 1975], [781, 1973]], 'pershik': [[16, 1500], [17, 1619], [24, 1552], [25, 1454], [26, 1614], [38, 1582], [46, 1662], [62, 1666], [67, 1796], [77, 1765], [81, 1701], [82, 1617], [88, 1566], [102, 1604], [104, 1610], [105, 1625], [106, 1585], [109, 1659], [112, 1635], [113, 1670], [118, 1642], [127, 1635], [140, 1709], [142, 1887], [156, 1868], [161, 1917], [193, 2078], [201, 2081], [220, 2003], [223, 1907], [226, 1890], [229, 1840], [235, 1785], [241, 1869], [238, 1851], [273, 1900], [292, 1827], [293, 1881], [325, 1825], [329, 2024], [333, 2041], [335, 1966], [338, 1965], [354, 1901], [360, 1853], [364, 1967], [367, 1982], [372, 2027], [377, 2035], [379, 2146], [380, 2067], [383, 2002], [388, 1944], [414, 2045], [418, 2146], [452, 2046], [455, 2121], [458, 2130], [461, 2090], [487, 1984], [512, 1881], [513, 1953], [516, 2059], [528, 1946], [524, 1904], [532, 2026], [541, 2100], [571, 2110], [573, 2011], [582, 1900], [587, 1949], [639, 2026], [641, 2176], [666, 2155], [771, 2156]], 'Vladik': [[476, 1500], [478, 1435], [483, 1348], [486, 1493], [489, 1530], [526, 1711], [536, 1825], [533, 1966], [538, 1914], [547, 1879], [549, 1793], [555, 1724], [566, 1787], [568, 1741], [570, 1667], [572, 1589], [574, 1685], [576, 1771], [578, 1828], [583, 1728], [584, 1708], [586, 1722], [588, 1737], [592, 1784], [593, 1767], [596, 1721], [602, 1668], [604, 1784], [606, 1765], [608, 1664], [610, 1656], [611, 1573], [615, 1780], [614, 1856], [617, 1881], [618, 1855], [621, 1722], [624, 1722], [626, 1930], [629, 1898], [631, 1886], [639, 1936], [641, 1936], [670, 1853], [674, 1926], [671, 1901], [679, 1903], [681, 1868], [685, 1987], [687, 1965], [696, 1987], [698, 1922], [704, 1944], [713, 2103], [715, 2117], [724, 2024], [725, 2098], [729, 2205], [739, 2171], [741, 2248], [744, 2229], [750, 2130], [757, 2214], [755, 2287], [763, 2221], [768, 2104], [776, 2096], [780, 2067], [771, 2017], [786, 1985]], 'manoprenko': [[400, 1500], [405, 1423], [408, 1343], [427, 1479], [430, 1552], [435, 1491], [437, 1688], [441, 1624], [472, 1730], [475, 1603], [480, 1766], [508, 1684], [524, 1621], [526, 1669], [532, 1665], [555, 1712], [596, 1764], [599, 1898], [602, 1878], [639, 1814], [680, 1761], [688, 1872], [727, 1952], [771, 2036], [786, 2105]], 'Mary_live': [[631, 1500], [653, 1579], [648, 1629], [649, 1671], [639, 1705], [641, 1757], [732, 1810], [725, 1748], [742, 1798], [746, 1817], [749, 1711], [757, 1596], [758, 1554], [760, 1597], [764, 1686], [766, 1689], [765, 1635], [767, 1593], [768, 1512], [776, 1518], [779, 1697], [782, 1743], [785, 1791], [771, 1766]], 'gostkin': [[611, 1500], [771, 1473]], 'NedoL': [[514, 1500], [515, 1460], [518, 1641], [527, 1589], [525, 1663], [538, 1744], [542, 1737], [543, 1708], [545, 1655], [546, 1687], [547, 1748], [550, 1683], [549, 1698], [553, 1766], [556, 1690], [557, 1687], [568, 1751], [570, 1681], [573, 1745], [577, 1669], [583, 1722], [584, 1763], [588, 1812], [592, 1815], [596, 1828], [601, 1900], [605, 1953], [608, 1861], [610, 1882], [623, 1914], [626, 1829], [629, 1874], [634, 1999], [648, 1946], [639, 1892], [641, 1869], [667, 1866], [674, 2031], [679, 2071], [685, 2080], [687, 2096], [698, 2102], [700, 2038], [708, 1977], [750, 1975], [771, 1954]], 'sslotin': [[583, 1500], [584, 1511], [588, 1468], [593, 1484], [602, 1478], [606, 1533], [608, 1630], [610, 1644], [611, 1635], [615, 1580], [614, 1588], [618, 1481], [621, 1513], [624, 1630], [625, 1657], [626, 1753], [629, 1690], [633, 1821], [645, 1908], [653, 1918], [648, 1966], [639, 2017], [641, 2103], [671, 2107], [725, 2037], [729, 1938], [765, 2158], [778, 2244], [780, 2312], [771, 2315]], 'ypavel31': [[466, 1500], [513, 1496], [515, 1447], [518, 1551], [524, 1503], [538, 1447], [544, 1468], [546, 1514], [548, 1579], [567, 1491], [569, 1645], [578, 1756], [583, 1794], [584, 1761], [592, 1711], [593, 1774], [596, 1721], [602, 1803], [608, 1817], [617, 1847], [626, 1805], [645, 1777], [648, 1830], [639, 1849], [667, 1823], [724, 2098], [729, 2012], [755, 2046], [780, 2005], [771, 2056]], 'BLIZZARD': [[38, 1500], [46, 1617], [57, 1705], [82, 1602], [104, 1567], [227, 1545], [234, 1631], [260, 1666], [270, 1594], [271, 1696], [277, 1766], [372, 1723], [504, 1792], [524, 1744], [526, 1864], [532, 2040], [549, 2072], [611, 1981], [639, 1965], [641, 2015]], 'AlvinMax': [[255, 1500], [259, 1412], [265, 1329], [266, 1249], [268, 1163], [270, 1096], [279, 1040], [337, 1016], [376, 1036], [378, 1030], [379, 1164], [426, 1244], [467, 1439], [469, 1383], [489, 1498], [492, 1643], [496, 1647], [500, 1551], [527, 1467], [551, 1652], [552, 1640], [557, 1550], [573, 1714], [577, 1626], [579, 1623], [580, 1672], [584, 1693], [588, 1670], [591, 1633], [592, 1603], [596, 1781], [601, 1921], [604, 1881], [606, 1812], [608, 1852], [610, 1871], [611, 1798], [614, 1741], [618, 1725], [624, 1724], [629, 1662], [635, 1697], [645, 1615], [653, 1703], [649, 1716], [639, 1776], [659, 1776], [641, 1873], [714, 1830]], 'Andreikkaa': [[445, 1500], [447, 1464], [448, 1670], [450, 1618], [452, 1582], [458, 1820], [512, 1761], [514, 1678], [516, 1771], [524, 1895], [526, 1851], [536, 1862], [532, 1779], [542, 1824], [543, 1778], [547, 1799], [549, 1968], [555, 2022], [566, 1947], [573, 2066], [576, 2102], [578, 2184], [585, 2068], [607, 2111], [613, 2123], [623, 2150], [634, 2181], [649, 2159], [639, 2160], [641, 2175], [666, 2115], [679, 2135], [687, 2083], [713, 2124], [725, 2178], [736, 2098], [744, 2105], [759, 2076], [771, 2055]], 'gainullin.ildar': [[574, 1500], [583, 1412], [584, 1368], [586, 1325], [592, 1243], [593, 1254], [596, 1345], [602, 1304], [608, 1280], [611, 1219], [615, 1304], [614, 1382], [617, 1456], [621, 1490], [624, 1574], [626, 1641], [633, 1708], [635, 1629], [631, 1638], [645, 1612], [653, 1607], [639, 1719], [659, 1661], [669, 1606], [667, 1521], [670, 1691], [673, 1730], [672, 1729], [675, 1779], [676, 1772], [680, 1762], [681, 1748], [682, 1714], [686, 1791], [688, 1847], [708, 1952], [711, 1876], [714, 1890], [727, 1917], [725, 1961], [737, 1985], [739, 1957], [742, 1868], [743, 1842], [745, 1831], [750, 2004], [757, 2026], [755, 2057], [759, 1962], [763, 1909], [765, 1963], [768, 2030], [776, 2072], [780, 2062], [771, 2103], [786, 2239]], 'Xrite': [[509, 1500], [554, 1642], [581, 1559], [584, 1510], [586, 1532], [599, 1589], [602, 1601], [626, 1562], [655, 1568], [639, 1547], [659, 1641], [641, 1736], [673, 1702], [676, 1744], [680, 1770], [682, 1687], [686, 1722], [688, 1721], [689, 1772], [697, 1818], [699, 1753], [709, 1759], [714, 1740], [716, 1852], [729, 1957], [739, 2016], [744, 1986], [750, 1948], [755, 2005], [765, 1941], [776, 1872], [780, 1933]], 'qoo2p5': [[508, 1500], [515, 1643], [567, 1602], [576, 1720], [579, 1644], [584, 1573], [588, 1645], [602, 1611], [604, 1695], [606, 1827], [608, 1843], [655, 1916], [649, 2004], [639, 1966], [641, 1911], [667, 1895], [672, 1747], [676, 1855], [687, 2001], [713, 1956], [715, 2025], [724, 2008], [727, 1970], [757, 2186], [776, 2222], [780, 2164], [771, 2111]], 'Posos': [[509, 1500], [510, 1425], [513, 1379], [574, 1311], [577, 1364], [579, 1538], [580, 1468], [584, 1512], [588, 1492], [592, 1474], [596, 1571], [599, 1526], [602, 1544], [610, 1507], [611, 1448], [614, 1407], [617, 1503], [624, 1472], [626, 1512], [629, 1597], [633, 1604], [635, 1558], [631, 1542], [648, 1494], [639, 1616], [659, 1645], [641, 1712], [667, 1731], [672, 1763], [681, 1752], [705, 1798], [706, 1801], [716, 1795], [721, 1802], [722, 1661], [723, 1649], [732, 1658], [725, 1743], [733, 1748], [734, 1769], [729, 1754], [742, 1776], [743, 1793], [745, 1768], [746, 1810], [749, 1750], [752, 1780], [750, 1731]], 'sliva': [[633, 1500], [631, 1442], [639, 1324], [672, 1327], [675, 1272], [676, 1363], [681, 1447], [682, 1637], [689, 1699], [701, 1577], [727, 1484], [732, 1458], [733, 1535], [729, 1687], [735, 1599], [745, 1504], [777, 1460]], '0n25': [[430, 1500], [431, 1417], [435, 1326], [437, 1247], [439, 1165], [441, 1095], [436, 1163], [443, 1132], [445, 1265], [447, 1333], [448, 1239], [450, 1319], [451, 1353], [452, 1336], [454, 1341], [460, 1287], [465, 1390], [466, 1370], [467, 1546], [469, 1444], [483, 1387], [489, 1336], [488, 1447], [505, 1359], [507, 1501], [508, 1656], [509, 1683], [510, 1590], [513, 1550], [518, 1497], [524, 1564], [526, 1702], [534, 1609], [535, 1548], [532, 1457], [538, 1528], [540, 1559], [544, 1517], [545, 1469], [546, 1566], [548, 1531], [550, 1678], [549, 1720], [551, 1631], [552, 1656], [554, 1593], [556, 1501], [557, 1417], [558, 1646], [559, 1726], [569, 1635], [572, 1544], [574, 1642], [577, 1582], [579, 1699], [584, 1722], [588, 1681], [591, 1595], [593, 1549], [596, 1561], [602, 1646], [604, 1757], [608, 1726], [611, 1716], [615, 1730], [614, 1713], [639, 1847], [641, 1798], [723, 1881], [734, 1894], [738, 1869], [743, 1854], [745, 1878], [749, 1882], [750, 1900], [755, 1901], [766, 1852], [765, 1784], [782, 1761], [785, 1813], [771, 1840], [787, 1815], [789, 1849]], 'wafemand': [[465, 1500], [466, 1416], [471, 1341], [472, 1262], [474, 1172], [478, 1189], [479, 1246], [488, 1286], [490, 1429], [493, 1364], [495, 1310], [496, 1387], [500, 1528], [509, 1429], [510, 1579], [514, 1634], [515, 1588], [527, 1595], [525, 1640], [526, 1565], [535, 1504], [538, 1578], [551, 1570], [567, 1475], [583, 1590], [593, 1565], [596, 1513], [602, 1511], [614, 1535], [624, 1550], [626, 1559], [645, 1585], [667, 1598], [675, 1682], [677, 1675], [680, 1656], [705, 1644], [706, 1624], [719, 1632], [721, 1758], [732, 1704], [725, 1653], [729, 1713], [740, 1730], [735, 1701], [742, 1678], [743, 1762], [746, 1715], [748, 1669], [750, 1733], [757, 1820], [755, 1679], [758, 1814], [760, 1791], [764, 1796], [765, 1807], [767, 1784], [776, 1767], [780, 1745], [771, 1698]], 'dezdichado': [[584, 1500], [593, 1436], [651, 1332], [649, 1301], [639, 1388], [673, 1336], [672, 1348], [724, 1352]], 'DoomzDay': [[667, 1500], [670, 1480], [673, 1440], [672, 1491], [714, 1455], [719, 1416], [731, 1357], [732, 1350], [725, 1356], [733, 1341], [734, 1486], [729, 1496], [740, 1561], [743, 1548], [745, 1560], [746, 1566], [747, 1523], [748, 1574], [750, 1596], [754, 1602], [757, 1521], [758, 1620], [766, 1770], [780, 1816], [785, 1695], [771, 1672]], 'dan.io': [[639, 1500], [641, 1606], [727, 1676], [779, 1719], [785, 1805], [771, 1841]], 'I_love_Margot_Robbie': [[370, 1500], [381, 1411], [443, 1318], [445, 1233], [447, 1165], [448, 1442], [450, 1378], [451, 1297], [456, 1224], [459, 1490], [460, 1415], [462, 1543], [472, 1713], [474, 1594], [476, 1544], [478, 1608], [479, 1586], [483, 1647], [487, 1703], [490, 1642], [493, 1549], [495, 1636], [499, 1691], [500, 1643], [505, 1658], [507, 1603], [508, 1668], [509, 1566], [536, 1711], [540, 1647], [544, 1662], [546, 1570], [548, 1533], [549, 1704], [553, 1776], [559, 1715], [568, 1750], [570, 1667], [573, 1736], [576, 1728], [579, 1645], [580, 1574], [583, 1701], [584, 1743], [586, 1732], [588, 1719], [592, 1710], [593, 1793], [599, 1790], [602, 1802], [604, 1771], [606, 1787], [608, 1824], [610, 1857], [611, 1810], [615, 1820], [618, 1926], [621, 1870], [624, 1795], [625, 1802], [626, 1783], [629, 1781], [635, 1847], [631, 1870], [648, 1872], [649, 1971], [639, 2072], [641, 2043], [666, 2072], [643, 2049], [671, 2064], [679, 2090], [685, 2027], [687, 1998], [696, 1993], [708, 1922], [713, 2055], [724, 2084], [727, 2065], [725, 2036], [737, 2035], [741, 1960], [744, 2050], [750, 1988], [755, 2066], [759, 2044], [763, 2049], [765, 2036], [768, 2041], [776, 2045], [778, 2030], [780, 2135], [771, 2012], [786, 2000], [788, 2146]], 'Denisson': [[592, 1500], [593, 1382], [596, 1361], [599, 1428], [602, 1414], [604, 1390], [606, 1426], [608, 1503], [610, 1476], [611, 1481], [615, 1465], [614, 1491], [617, 1394], [624, 1447], [626, 1384], [639, 1463], [659, 1437], [705, 1579], [725, 1691], [729, 1824], [771, 1988]], 'Melnik': [[476, 1500], [509, 1404], [513, 1535], [514, 1522], [524, 1431], [550, 1401], [551, 1345], [552, 1601], [553, 1706], [556, 1654], [557, 1641], [567, 1557], [569, 1661], [570, 1570], [574, 1554], [576, 1712], [593, 1837], [606, 1751], [610, 1695], [611, 1760], [618, 1910], [621, 1806], [625, 1805], [626, 1944], [634, 1980], [649, 1924], [639, 1977], [679, 2014], [685, 1953], [687, 2039], [704, 2055], [713, 2074], [715, 2089], [729, 2049], [739, 2111], [736, 2117], [741, 2121], [744, 2224], [750, 2168], [780, 2180], [771, 2210]], 'SpyCheese': [[490, 1500], [524, 1745], [526, 1894], [532, 2059], [541, 2104], [549, 2079], [555, 2214], [559, 2272], [601, 2320], [618, 2369], [639, 2421], [641, 2515], [643, 2522], [687, 2541], [713, 2414], [722, 2615], [741, 2413], [755, 2460], [763, 2584], [771, 2586]], 'TyomaR': [[460, 1500], [462, 1465], [467, 1368], [471, 1471], [472, 1374], [474, 1406], [476, 1488], [478, 1393], [483, 1322], [488, 1439], [492, 1663], [496, 1565], [499, 1492], [513, 1703], [515, 1660], [538, 1741], [540, 1677], [545, 1594], [553, 1735], [578, 1802], [583, 1727], [584, 1693], [588, 1662], [596, 1697], [599, 1784], [611, 1825], [614, 1783], [618, 1836], [624, 1789], [625, 1802], [633, 1790], [635, 1749], [649, 1871], [639, 1944], [641, 1899], [666, 1929], [671, 1915], [679, 2002], [685, 1915], [696, 2011], [698, 1989], [713, 2035], [727, 2045], [739, 2044], [736, 1987], [744, 1998], [750, 1917], [755, 1985], [759, 1987], [765, 2053], [780, 2088], [771, 2054]], 'alexxx998': [[466, 1500], [479, 1400], [507, 1323], [524, 1336], [534, 1280], [570, 1192], [574, 1271], [577, 1526], [579, 1637], [580, 1619], [584, 1556], [588, 1637], [593, 1625], [614, 1571], [631, 1543], [639, 1495], [641, 1524], [670, 1543], [721, 1527], [723, 1534], [729, 1612], [754, 1682], [757, 1620], [776, 1653], [779, 1553], [782, 1643], [771, 1648]], 'Niko': [[155, 1500], [157, 1621], [173, 1698], [174, 1656], [175, 1572], [177, 1595], [180, 1662], [178, 1676], [189, 1623], [269, 1705], [292, 1804], [341, 1739], [524, 1815], [526, 1784], [532, 2011], [538, 2068], [541, 2160], [549, 2173], [639, 2231], [641, 2274]], 'gritukan': [[382, 1500], [385, 1490], [387, 1397], [400, 1542], [412, 1453], [413, 1492], [525, 1465], [535, 1691], [533, 1772], [538, 1723], [543, 1856], [547, 1873], [549, 1847], [555, 1805], [566, 1730], [568, 1830], [576, 1964], [578, 1934], [582, 2070], [587, 2001], [601, 2043], [603, 2035], [605, 2059], [607, 1985], [611, 2056], [623, 2057], [626, 2033], [633, 2059], [634, 2188], [645, 2294], [649, 2343], [639, 2258], [641, 2273], [666, 2213], [674, 2192], [671, 2152], [679, 2235], [687, 2272], [696, 2308], [698, 2357], [708, 2433], [713, 2402], [725, 2376], [750, 2482], [755, 2565], [759, 2507], [763, 2616], [765, 2629], [768, 2667], [776, 2643], [781, 2642], [771, 2659]], 'V--o_o--V': [[315, 1500], [343, 1724], [356, 1868], [375, 1955], [377, 2102], [379, 2228], [383, 2286], [412, 2246], [413, 2280], [419, 2318], [434, 2314], [446, 2221], [455, 2161], [464, 2201], [497, 2155], [498, 2286], [500, 2402], [506, 2482], [512, 2531], [513, 2423], [528, 2458], [524, 2356], [532, 2380], [541, 2464], [543, 2473], [547, 2415], [555, 2509], [576, 2541], [578, 2602], [582, 2629], [605, 2654], [611, 2711], [618, 2790], [633, 2802], [645, 2707], [648, 2699], [639, 2759], [662, 2781], [641, 2705], [666, 2814], [643, 2819], [679, 2863], [687, 2770], [696, 2770], [698, 2797], [708, 2761], [715, 2651], [722, 2677], [724, 2750], [725, 2728], [739, 2768], [736, 2694], [744, 2812], [750, 2900], [755, 2916], [756, 2980], [763, 3156], [765, 3232], [768, 3238], [776, 3271], [781, 3031], [771, 3192], [786, 3206], [788, 3050]], 'senek_K': [[285, 1500], [296, 1415], [300, 1364], [313, 1314], [316, 1248], [340, 1192], [362, 1137], [365, 1201], [400, 1143], [405, 1084], [408, 1355], [427, 1398], [430, 1458], [435, 1507], [437, 1662], [441, 1608], [454, 1689], [465, 1592], [472, 1494], [475, 1662], [487, 1795], [494, 1721], [516, 1818], [524, 1827], [526, 1875], [532, 2027], [538, 2074], [549, 2090], [555, 2067], [585, 1981], [601, 1996], [634, 1912], [649, 1984], [639, 1913], [641, 1967], [687, 1932], [736, 2003], [748, 1907], [780, 2014], [771, 2049]], 'r_0_P_i_Jl_K_A': [[546, 1500], [550, 1414], [570, 1334], [721, 1258], [723, 1411], [725, 1536], [733, 1711], [734, 1743], [735, 1752], [742, 1871], [748, 1954], [787, 1887]], 'Yukiko': [], 'BudAlNik': [[70, 1500], [71, 1417], [73, 1338], [74, 1430], [127, 1364], [139, 1295], [218, 1381], [219, 1318], [224, 1299], [230, 1456], [231, 1392], [233, 1399], [242, 1619], [254, 1535], [259, 1566], [263, 1480], [266, 1392], [318, 1586], [330, 1500], [332, 1530], [339, 1482], [342, 1577], [344, 1665], [350, 1665], [352, 1698], [361, 1630], [429, 1745], [436, 1786], [444, 1974], [464, 1883], [468, 1795], [472, 1809], [475, 1816], [474, 1697], [479, 1663], [487, 1769], [512, 1817], [513, 1918], [528, 1832], [524, 2058], [536, 2042], [532, 2059], [538, 2002], [543, 2136], [547, 2266], [549, 2208], [553, 2116], [555, 2282], [573, 2333], [576, 2215], [582, 2203], [601, 2235], [607, 2171], [618, 2072], [623, 2084], [626, 2214], [633, 2238], [627, 2254], [645, 2180], [639, 2249], [662, 2243], [641, 2214], [666, 2198], [643, 2159], [671, 2094], [679, 2330], [685, 2353], [700, 2320], [708, 2363], [713, 2344], [715, 2386], [722, 2335], [724, 2436], [736, 2419], [741, 2450], [744, 2373], [750, 2351], [757, 2518], [755, 2483], [763, 2487], [765, 2474], [781, 2485], [771, 2533]], 'Omrigan': [[524, 1500], [581, 1420], [583, 1600], [584, 1531], [588, 1630], [592, 1632], [593, 1546], [599, 1522], [604, 1493], [610, 1445], [611, 1468], [615, 1466], [614, 1551], [617, 1588], [618, 1647], [633, 1705], [649, 1670], [639, 1733], [641, 1744], [707, 1733], [771, 1628]], 'SiERic': [[577, 1500], [579, 1660], [584, 1608], [588, 1587], [591, 1588], [592, 1666], [593, 1599], [596, 1604], [602, 1718], [604, 1741], [608, 1677], [615, 1691], [614, 1636], [633, 1605], [631, 1701], [648, 1786], [658, 1866], [666, 1906], [670, 1814], [672, 1797], [675, 1770], [677, 1736], [688, 1766], [689, 1821], [699, 1813], [714, 1795], [721, 1840], [722, 1878], [723, 1860], [727, 2013], [736, 1980], [768, 1995], [780, 1881], [771, 1936]], 'Platinumda': [[510, 1500], [518, 1398], [534, 1322], [551, 1264], [569, 1299], [574, 1276], [588, 1413], [593, 1368], [615, 1269], [676, 1286]], 'Yury_Bandarchuk': [[265, 1500], [266, 1419], [268, 1327], [282, 1445], [284, 1493], [298, 1435], [327, 1374], [344, 1304], [347, 1313], [358, 1263], [359, 1343], [361, 1305], [368, 1271], [369, 1385], [371, 1467], [373, 1380], [378, 1446], [379, 1411], [381, 1319], [382, 1478], [384, 1583], [385, 1662], [388, 1713], [400, 1652], [402, 1596], [404, 1637], [406, 1722], [416, 1663], [417, 1695], [412, 1619], [425, 1706], [427, 1660], [430, 1569], [432, 1692], [431, 1600], [452, 1716], [453, 1729], [456, 1659], [458, 1698], [461, 1825], [475, 1731], [477, 1828], [480, 1755], [494, 1922], [497, 1867], [500, 1955], [504, 1938], [512, 1911], [513, 1962], [516, 1922], [528, 1958], [524, 1971], [526, 1902], [532, 1906], [538, 1901], [547, 1829], [549, 1788], [555, 1949], [601, 2024], [611, 2070], [618, 2093], [626, 2033], [633, 2016], [634, 2036], [653, 2059], [649, 2092], [639, 2147], [641, 2159], [666, 2231], [643, 2274], [696, 2202], [698, 2132], [700, 2077], [704, 1977], [713, 2089], [722, 2023], [750, 2159], [757, 2138], [755, 1934], [759, 1946], [768, 2028], [781, 1993], [771, 2098]], 'Whizzpered': [], 'Ershov_Oleg': [], 'poegva': [[488, 1500], [549, 1753], [608, 1816], [614, 1761], [621, 1797], [649, 1755], [639, 1770], [641, 1725], [732, 1755], [734, 1767], [729, 1741], [740, 1807], [735, 1809], [742, 1740], [743, 1850], [745, 1769], [746, 1790], [749, 1822], [757, 1812], [764, 1876], [766, 1881], [765, 1891], [768, 1896], [776, 1870], [777, 1854], [780, 1886], [771, 1822]], 'PoDuReM': [[507, 1500], [508, 1681], [509, 1579], [524, 1656], [580, 1601], [583, 1533], [584, 1546], [592, 1530], [593, 1657], [599, 1566], [602, 1601], [604, 1646], [608, 1644], [610, 1691], [614, 1613], [617, 1704], [645, 1908], [639, 1919], [659, 1896], [641, 1946], [666, 2013], [671, 1913], [685, 1944], [705, 1886], [713, 2052], [736, 2007], [741, 2007], [744, 2027], [748, 2095], [750, 2004], [759, 2099], [780, 2164], [771, 2168]], 'aytel': [[560, 1500], [576, 1714], [580, 1649], [581, 1680], [584, 1632], [639, 1588], [641, 1652], [667, 1621], [643, 1733], [672, 1844], [675, 1736], [680, 1755], [681, 1865], [682, 1840], [686, 1812], [687, 1925], [705, 1865], [706, 1798], [713, 1916], [715, 1918], [729, 1958], [739, 2009], [736, 1954], [741, 1942], [744, 1962], [750, 1922], [754, 1817], [757, 1906], [755, 1867], [760, 1851], [763, 1983], [768, 2065], [776, 2054], [780, 2012], [771, 2031], [786, 2005], [788, 2127]], 'OTTEBROT': [[714, 1500], [716, 1642], [719, 1684], [721, 1723], [723, 1616], [732, 1686], [733, 1661], [734, 1647], [729, 1535], [740, 1661], [735, 1672], [742, 1659], [745, 1692], [746, 1756], [749, 1883], [771, 1922]], 'Kniaz': [[421, 1500], [424, 1473], [426, 1387], [427, 1375], [432, 1287], [431, 1482], [435, 1391], [439, 1347], [441, 1271], [443, 1336], [445, 1524], [447, 1431], [463, 1336], [475, 1243], [478, 1226], [483, 1317], [489, 1601], [488, 1505], [492, 1410], [493, 1336], [496, 1607], [500, 1735], [507, 1653], [524, 1747], [525, 1662], [538, 1728], [542, 1889], [543, 1836], [578, 1768], [580, 1686], [583, 1683], [584, 1685], [588, 1682], [592, 1680], [593, 1602], [602, 1582], [604, 1733], [606, 1821], [608, 1808], [610, 1797], [618, 1735], [621, 1719], [624, 1760], [626, 1758], [648, 1758], [649, 1771], [639, 1852], [641, 1848], [667, 1891], [672, 1854], [696, 1906], [705, 1819], [711, 1834], [713, 1937], [727, 2007], [757, 2031], [780, 1981]], 'romanasa3': [[483, 1500], [515, 1405], [659, 1650], [723, 1806]], 'Schemtschik': [[373, 1500], [379, 1423], [415, 1325], [448, 1305], [454, 1235], [463, 1178], [467, 1399], [471, 1529], [475, 1491], [478, 1376], [483, 1284], [486, 1295], [489, 1338], [495, 1566], [496, 1511], [499, 1474], [513, 1710], [514, 1653], [528, 1702], [524, 1633], [534, 1581], [535, 1487], [538, 1638], [576, 1724], [588, 1642], [591, 1703], [593, 1685], [611, 1661], [618, 1673], [621, 1610], [625, 1597], [645, 1611], [639, 1632], [659, 1531], [676, 1550], [680, 1536], [707, 1414], [709, 1478], [711, 1534], [725, 1551], [760, 1638], [777, 1694], [779, 1875]], 'den2204': [[415, 1500], [427, 1426], [432, 1338], [431, 1314], [435, 1224], [437, 1443], [439, 1618], [441, 1563], [447, 1534], [467, 1438], [469, 1525], [471, 1624], [472, 1655], [500, 1702], [512, 1985], [524, 1897], [536, 1850], [555, 1940], [568, 1837], [571, 1978], [578, 2017], [611, 2053], [626, 2061], [633, 2008], [634, 2018], [639, 2008], [641, 2020], [666, 2092], [643, 2127], [713, 2055], [725, 2033], [733, 1871], [739, 2050], [736, 1987], [741, 1977], [744, 2132], [765, 2187], [768, 2088], [776, 2100], [781, 2114], [771, 2140]], 'w8_m8': [[714, 1500], [716, 1458], [719, 1422], [721, 1383], [727, 1429], [733, 1495], [729, 1457], [740, 1445], [735, 1482], [748, 1560], [750, 1561], [754, 1563], [764, 1621], [771, 1720]], 'igor.glushkov': [[413, 1500], [426, 1533], [427, 1472], [430, 1415], [432, 1369], [431, 1361], [433, 1294], [435, 1240], [437, 1445], [439, 1451], [441, 1355], [436, 1398], [443, 1381], [452, 1298], [454, 1347], [456, 1253], [459, 1516], [460, 1545], [462, 1666], [463, 1567], [465, 1565], [466, 1503], [467, 1504], [471, 1636], [472, 1687], [475, 1573], [474, 1522], [478, 1610], [479, 1508], [483, 1684], [489, 1681], [493, 1607], [496, 1514], [500, 1686], [512, 1788], [513, 1722], [516, 1769], [524, 1706], [526, 1779], [532, 1753], [538, 1760], [541, 1790], [543, 1763], [549, 1750], [551, 1673], [552, 1623], [554, 1570], [556, 1506], [557, 1677], [573, 1736], [576, 1746], [578, 1721], [581, 1654], [586, 1725], [588, 1670], [593, 1693], [608, 1703], [610, 1726], [611, 1688], [615, 1721], [614, 1735], [624, 1735], [625, 1720], [648, 1824], [659, 1785], [670, 1741], [677, 1788], [680, 1746], [681, 1898], [688, 1853], [701, 1778], [705, 1746], [706, 1796], [725, 1827], [740, 1800], [735, 1798], [752, 1740], [757, 1767], [758, 1753], [766, 1741], [776, 1650], [782, 1703], [771, 1761], [786, 1910], [789, 1886]], 'PalchikovNick': [[560, 1500], [606, 1470], [611, 1449], [615, 1489], [614, 1496], [617, 1597], [618, 1583], [621, 1638], [624, 1598], [625, 1507], [626, 1391], [633, 1469], [635, 1456], [651, 1408], [645, 1507], [639, 1482], [672, 1479], [675, 1498], [680, 1574], [701, 1692], [706, 1595], [707, 1637], [719, 1617], [721, 1526], [732, 1457], [725, 1548], [734, 1489], [740, 1612], [735, 1774], [745, 1816], [750, 1827], [755, 1746], [758, 1671], [760, 1542], [766, 1642], [765, 1600], [768, 1547], [782, 1536], [785, 1530], [771, 1399], [789, 1548]], 'checkm4te': [[500, 1500], [509, 1381], [513, 1580], [514, 1496], [515, 1483], [518, 1398], [527, 1322], [534, 1314], [545, 1419], [550, 1617], [551, 1544], [552, 1473], [558, 1554], [569, 1502], [572, 1427], [574, 1537], [579, 1464], [583, 1517], [626, 1522], [639, 1621], [701, 1585]], 'Aphanasiy': [[552, 1500], [567, 1663], [570, 1586], [572, 1508], [574, 1431], [577, 1446], [579, 1559], [580, 1599], [584, 1531], [592, 1580], [611, 1455], [614, 1450], [618, 1458], [648, 1519], [649, 1647], [680, 1670], [681, 1656], [719, 1577], [721, 1608], [723, 1588], [727, 1580], [732, 1701], [733, 1752], [734, 1775], [747, 1745], [749, 1777], [752, 1871], [760, 1852], [764, 1886], [765, 1964], [768, 1962], [780, 1942]], 'grumpy_gordon': [[499, 1500], [500, 1425], [501, 1546], [508, 1587], [510, 1507], [513, 1667], [548, 1583], [556, 1687], [560, 1601], [578, 1736], [583, 1700], [584, 1748], [586, 1734], [596, 1729], [599, 1716], [602, 1768], [604, 1852], [615, 1798], [617, 1822], [626, 1821], [635, 1836], [648, 1991], [649, 1968], [639, 1953], [641, 1998], [674, 2010], [671, 2069], [679, 1973], [687, 2036], [696, 1965], [698, 1948], [711, 1881], [724, 2002], [727, 2102], [725, 2246], [741, 2146], [744, 2185], [750, 2216], [757, 2231], [755, 2203], [759, 2206], [763, 2105], [765, 2156], [768, 2155], [776, 2153], [781, 2200], [771, 2145], [786, 2281], [788, 2324]], 'Alexponomarev7': [[534, 1500], [570, 1422], [580, 1365], [584, 1430], [596, 1386], [614, 1394], [680, 1528], [686, 1561], [714, 1632], [727, 1610], [732, 1703], [733, 1742], [742, 1735], [745, 1782], [747, 1820], [758, 1702], [780, 1904], [771, 1948]], 'IsmagilS': [[313, 1500], [315, 1412], [318, 1326], [358, 1245], [384, 1190], [385, 1370], [427, 1386], [476, 1312], [483, 1265], [488, 1317], [499, 1257], [509, 1175], [513, 1216], [534, 1348], [535, 1435], [538, 1497], [540, 1600], [544, 1659], [545, 1574], [550, 1518], [549, 1504], [556, 1571], [567, 1608], [569, 1586], [570, 1533], [572, 1661], [574, 1648], [577, 1674], [579, 1673], [580, 1602], [583, 1554], [584, 1567], [586, 1591], [593, 1635], [596, 1622], [602, 1617], [611, 1620], [615, 1607], [614, 1678], [617, 1775], [624, 1789], [626, 1749], [645, 1705], [648, 1711], [649, 1742], [639, 1725], [659, 1676], [673, 1682], [680, 1605], [681, 1716], [689, 1746], [697, 1765], [699, 1740], [700, 1908], [707, 1842], [709, 1853], [711, 1776], [714, 1829], [716, 1855], [719, 1789], [721, 1777], [727, 1676], [731, 1815], [733, 1847], [734, 1833], [737, 1971], [740, 1880], [744, 1939], [750, 1862], [757, 1805], [755, 1756], [758, 1754], [760, 1853], [764, 1852], [766, 1763], [765, 1754], [768, 1838], [776, 1840], [777, 1803], [785, 1882], [771, 1932]], 'Farhit': [[499, 1500], [501, 1403], [527, 1478], [524, 1610], [525, 1551], [534, 1693], [535, 1598], [540, 1651], [544, 1591], [548, 1590], [551, 1680], [560, 1675], [583, 1705], [596, 1714], [599, 1705], [611, 1815], [615, 1787], [648, 1833], [649, 1905], [639, 1960], [687, 1948], [727, 1909], [750, 1960], [759, 2000], [780, 1960], [771, 1938], [786, 2018]]}
  52. #open("tmp2.txt", "w").write(str(ratings))
  53. users = ['glebodin', 'Slamur', 'Aphanasiy', 'trilis', 'MRedor', 'RostVel', 'Melnik', 'aytel', 'dani_bw', 'Vladik', 'hloya_ygrt', 'MakArtKar', 'w8_m8', 'kosa_98', 'Farhit', 'demon1999', 'SpyCheese', 'Vitalya', 'Romanchenko', 'equocredite', 'TyomaR', 'poegva', 'atem_111', 'ivankrut856', 'BledDest', 'mrworker27', '0n25', 'Domonion', 'IsmagilS', 'Alexponomarev7', 'Xrite', 'Khusainov', 'BudAlNik', 'dima.13', '__KPbIMCKuY___TaTaPuH__', 'gainullin.ildar', 'gritukan', 'SiERic', 'Yury_Bandarchuk', 'OTTEBROT', 'Schemtschik', 'sslotin', 'pershik', 'dimas.kovas', 'NedoL', 'Niko', 'Yukiko', 'Denisson', 'Kniaz', 'PoDuReM', 'Dogzik', 'Maslov', 'Posos', 'eriksa', 'Starcall', 'r_0_P_i_Jl_K_A', 'gostkin', 'wafemand', 'zloyplace35', 'romanasa', 's.egorov', 'PikMike', 'josdas', 'krock21', 'Omrigan', 'sliva', 'menshikov', 'Andreikkaa', 'alkurmtl', 'den2204', 'super_azbuka', 'checkm4te', 'liriKl', 'DoomzDay', 'Qwerty132', 'I_love_Margot_Robbie', 'alexxx998', 'igor.glushkov', 'Mary_live', 'ice_tea', 'disa', 'V--o_o--V', 'dan.io', 'AlvinMax', 'senek_K', 'ypavel31', 'netman', 'romanasa3', 'ismagilov.code', 'PalchikovNick', 'grumpy_gordon', 'dammit', 'Bobrosoft', 'qoo2p5', 'dezdichado', 'BLIZZARD', 'KSergey', 'winnerforer', 'hey_boris', 'Whizzpered', 'manoprenko', 'Bober', 'Platinumda', 'Ershov_Oleg']
  54. #open("tmp3.txt", "w").write(str(users))
  55. actions = [[1514678400, '+', 'glebodin'], [1514678400, '+', 'Slamur'], [1514678400, '+', 'Aphanasiy'], [1514678400, '+', 'trilis'], [1514678400, '+', 'MRedor'], [1514678400, '+', 'RostVel'], [1514678400, '+', 'Melnik'], [1514678400, '+', 'aytel'], [1514678400, '+', 'dani_bw'], [1514678400, '+', 'Vladik'], [1514678400, '+', 'hloya_ygrt'], [1514678400, '+', 'MakArtKar'], [1514678400, '+', 'w8_m8'], [1514678400, '+', 'kosa_98'], [1514678400, '+', 'Farhit'], [1514678400, '+', 'demon1999'], [1514678400, '+', 'SpyCheese'], [1514678400, '+', 'Vitalya'], [1514678400, '+', 'Romanchenko'], [1514678400, '+', 'equocredite'], [1514678400, '+', 'TyomaR'], [1514678400, '+', 'poegva'], [1514678400, '+', 'atem_111'], [1514678400, '+', 'ivankrut856'], [1514678400, '+', 'BledDest'], [1514678400, '+', 'mrworker27'], [1514678400, '+', '0n25'], [1514678400, '+', 'Domonion'], [1514678400, '+', 'IsmagilS'], [1514678400, '+', 'Alexponomarev7'], [1514678400, '+', 'Xrite'], [1514678400, '+', 'Khusainov'], [1514678400, '+', 'BudAlNik'], [1514678400, '+', 'dima.13'], [1514678400, '+', '__KPbIMCKuY___TaTaPuH__'], [1514678400, '+', 'gainullin.ildar'], [1514678400, '+', 'gritukan'], [1514678400, '+', 'SiERic'], [1514678400, '+', 'Yury_Bandarchuk'], [1514678400, '+', 'OTTEBROT'], [1514678400, '+', 'Schemtschik'], [1514678400, '+', 'sslotin'], [1514678400, '+', 'pershik'], [1514678400, '+', 'dimas.kovas'], [1514678400, '+', 'NedoL'], [1514678400, '+', 'Niko'], [1514678400, '+', 'Yukiko'], [1514678400, '+', 'Denisson'], [1514678400, '+', 'Kniaz'], [1514678400, '+', 'PoDuReM'], [1514678400, '+', 'Dogzik'], [1514678400, '+', 'Maslov'], [1514678400, '+', 'Posos'], [1514678400, '+', 'eriksa'], [1514678400, '+', 'Starcall'], [1514678400, '+', 'r_0_P_i_Jl_K_A'], [1514678400, '+', 'gostkin'], [1514678400, '+', 'wafemand'], [1514678400, '+', 'zloyplace35'], [1514678400, '+', 'romanasa'], [1514678400, '+', 's.egorov'], [1514678400, '+', 'PikMike'], [1514678400, '+', 'josdas'], [1514678400, '+', 'krock21'], [1514678400, '+', 'Omrigan'], [1514678400, '+', 'sliva'], [1514678400, '+', 'menshikov'], [1514678400, '+', 'Andreikkaa'], [1514678400, '+', 'alkurmtl'], [1491442257, '+', 'den2204'], [1491411915, '+', 'super_azbuka'], [1491408270, '+', 'checkm4te'], [1491405242, '-', 'glebodin'], [1491405072, '-', 'Slamur'], [1491404117, '+', 'glebodin'], [1491403370, '+', 'liriKl'], [1491403344, '+', 'DoomzDay'], [1491403341, '+', 'Qwerty132'], [1491403322, '+', 'I_love_Margot_Robbie'], [1491403212, '+', 'alexxx998'], [1491403165, '+', 'igor.glushkov'], [1491403161, '+', 'Mary_live'], [1491403086, '-', 'Aphanasiy'], [1491403003, '+', 'ice_tea'], [1491400200, '+', 'disa'], [1491400183, '-', 'trilis'], [1491400083, '+', 'V--o_o--V'], [1491400030, '-', 'V--o_o--V'], [1491399952, '+', 'dan.io'], [1491396255, '-', 'MRedor'], [1491395553, '+', 'AlvinMax'], [1491395151, '-', 'I_love_Margot_Robbie'], [1491394894, '+', 'senek_K'], [1491394024, '-', 'DoomzDay'], [1491394006, '-', 'Qwerty132'], [1491393639, '+', 'ypavel31'], [1491392731, '-', 'RostVel'], [1491392719, '-', 'disa'], [1491392676, '-', 'super_azbuka'], [1491392657, '-', 'dan.io'], [1491392645, '+', 'netman'], [1491392566, '-', 'Melnik'], [1491392547, '-', 'senek_K'], [1491392530, '-', 'netman'], [1491392519, '-', 'glebodin'], [1491392512, '-', 'aytel'], [1491392488, '-', 'ice_tea'], [1491392480, '-', 'dani_bw'], [1491392014, '-', 'Vladik'], [1491391955, '-', 'hloya_ygrt'], [1491389369, '+', 'senek_K'], [1491389099, '+', 'romanasa3'], [1491388846, '+', 'ismagilov.code'], [1491388632, '-', 'MakArtKar'], [1491388612, '-', 'w8_m8'], [1491388582, '-', 'liriKl'], [1491388090, '-', 'ismagilov.code'], [1491387921, '-', 'kosa_98'], [1491387863, '-', 'Farhit'], [1491387396, '-', 'checkm4te'], [1491386968, '-', 'ypavel31'], [1491386758, '-', 'demon1999'], [1491386101, '-', 'SpyCheese'], [1491386001, '-', 'Vitalya'], [1491385480, '-', 'AlvinMax'], [1491385450, '-', 'romanasa3'], [1491385386, '-', 'alexxx998'], [1491385342, '-', 'senek_K'], [1491385066, '-', 'Romanchenko'], [1491383435, '-', 'equocredite'], [1491383413, '-', 'wafemand'], [1491360006, '-', 'igor.glushkov'], [1491359980, '-', 'den2204'], [1491359937, '-', 'poegva'], [1491359937, '-', 'TyomaR'], [1491358937, '-', 'atem_111'], [1491358837, '-', 'Mary_live'], [1491356283, '-', 'ivankrut856'], [1491356234, '+', 'PalchikovNick'], [1491356225, '-', 'PalchikovNick'], [1489529606, '-', 'BledDest'], [1489529603, '+', 'grumpy_gordon'], [1489529538, '-', 'grumpy_gordon'], [1489529526, '+', 'atem_111'], [1489420803, '-', 'mrworker27'], [1488668176, '-', 'dima.13'], [1488417278, '-', 'alkurmtl'], [1488417267, '+', 'alkurmtl'], [1488417169, '-', 'Alexponomarev7'], [1488417140, '+', 'Alexponomarev7'], [1487796013, '-', 'josdas'], [1487795964, '+', 'josdas'], [1487632688, '-', '0n25'], [1487632680, '+', 'dima.13'], [1484777964, '-', 'Starcall'], [1484777932, '-', 'OTTEBROT'], [1484777920, '+', 'Starcall'], [1484777830, '-', 'Dogzik'], [1484777808, '+', 'OTTEBROT'], [1484777682, '-', 'Starcall'], [1484777680, '+', 'Dogzik'], [1483652406, '+', 'grumpy_gordon'], [1483652382, '-', 'grumpy_gordon'], [1483607886, '-', 'Domonion'], [1483607782, '+', 'Starcall'], [1482757838, '-', 'IsmagilS'], [1482757830, '+', 'dammit'], [1482757798, '-', 'dammit'], [1482717594, '-', 'Alexponomarev7'], [1482717508, '+', 'Bobrosoft'], [1481317352, '-', 'Andreikkaa'], [1481215540, '+', 'Andreikkaa'], [1481016838, '-', 'Xrite'], [1481016824, '+', 'demon1999'], [1477596338, '-', 'Khusainov'], [1476747362, '-', 'BudAlNik'], [1476746836, '-', 'dima.13'], [1476746820, '+', 'Vitalya'], [1476738154, '-', '__KPbIMCKuY___TaTaPuH__'], [1476738146, '+', 'qoo2p5'], [1476642166, '-', 'qoo2p5'], [1476642146, '+', 'dezdichado'], [1471342354, '-', 'gainullin.ildar'], [1470610518, '-', 'gritukan'], [1470610514, '+', 'gritukan'], [1470515178, '-', 'SiERic'], [1470515162, '+', 'SiERic'], [1470514656, '-', 'OTTEBROT'], [1470514632, '+', 'OTTEBROT'], [1470350038, '-', 'Vitalya'], [1470350024, '+', 'Vitalya'], [1470349914, '-', 'Vitalya'], [1470349910, '+', 'alexxx998'], [1470349740, '-', 'SiERic'], [1470349736, '+', 'Vitalya'], [1470218276, '-', 'zloyplace35'], [1470189346, '+', 'super_azbuka'], [1470061328, '-', 'super_azbuka'], [1469548542, '+', 'ypavel31'], [1468888824, '-', 'Omrigan'], [1467479570, '-', 'Yury_Bandarchuk'], [1467196228, '-', 'OTTEBROT'], [1465605408, '-', 'Schemtschik'], [1465605260, '+', 'Omrigan'], [1465334404, '-', 'Maslov'], [1465334390, '+', 'BLIZZARD'], [1465319740, '-', 'BLIZZARD'], [1464916812, '-', 'sslotin'], [1464813214, '-', 'Vitalya'], [1464813132, '+', 'romanasa3'], [1464813006, '-', 'romanasa3'], [1464812988, '+', 'romanasa3'], [1460403192, '-', 'Denisson'], [1460403175, '+', 'KSergey'], [1459185012, '-', 'PoDuReM'], [1459185008, '+', 'PoDuReM'], [1456340420, '-', 'demon1999'], [1455835425, '-', 's.egorov'], [1455835405, '+', 's.egorov'], [1453935452, '-', 'Posos'], [1453935452, '+', 'Posos'], [1453928848, '-', 'PoDuReM'], [1453928848, '+', 'PoDuReM'], [1453152928, '-', 'romanasa3'], [1453067348, '-', 'PoDuReM'], [1453067348, '+', 'PoDuReM'], [1453057608, '-', 'gritukan'], [1453057600, '+', 'PalchikovNick'], [1452373436, '-', 'PalchikovNick'], [1452286748, '-', 'Bobrosoft'], [1452286744, '+', 'romanasa3'], [1452204628, '-', 'pershik'], [1452204624, '+', 'grumpy_gordon'], [1452204240, '-', 'dimas.kovas'], [1452204176, '-', 'Andreikkaa'], [1452203732, '+', 'Andreikkaa'], [1452126304, '-', 'romanasa3'], [1452126296, '+', 'romanasa3'], [1452126280, '-', 'romanasa3'], [1452126232, '+', 'romanasa3'], [1452125908, '-', 'NedoL'], [1452124400, '-', 'Niko'], [1451341148, '-', 'PoDuReM'], [1451341148, '+', 'PoDuReM'], [1451332672, '-', 'PoDuReM'], [1451332668, '+', 'PoDuReM'], [1451324504, '-', 'Posos'], [1451324504, '+', 'Posos'], [1451324492, '-', 'r_0_P_i_Jl_K_A'], [1451324492, '+', 'r_0_P_i_Jl_K_A'], [1451250024, '-', 'PoDuReM'], [1451250020, '+', 'PoDuReM'], [1451242592, '-', 'Posos'], [1451242588, '+', 'Posos'], [1451242580, '-', 'PoDuReM'], [1451242576, '+', 'PoDuReM'], [1451170600, '-', 'r_0_P_i_Jl_K_A'], [1451170592, '+', 'r_0_P_i_Jl_K_A'], [1451165544, '-', 'PoDuReM'], [1451165540, '+', 'PoDuReM'], [1450984236, '+', 'winnerforer'], [1450898397, '-', 'Posos'], [1450898392, '+', 'Posos'], [1450898372, '-', 'josdas'], [1450898372, '+', 'Maslov'], [1450898204, '-', 'Maslov'], [1450898048, '-', 'Posos'], [1450898044, '+', 'Posos'], [1450897216, '-', 'krock21'], [1450897208, '+', 'krock21'], [1450897032, '-', 'PoDuReM'], [1450896932, '-', 'sliva'], [1450896932, '+', 'PoDuReM'], [1450896932, '+', 'sliva'], [1450896880, '-', 'PoDuReM'], [1450896880, '+', 'PoDuReM'], [1450896864, '-', 'PoDuReM'], [1450896860, '+', 'PoDuReM'], [1450896688, '-', 'Posos'], [1450896684, '+', 'Posos'], [1450896642, '-', 'PoDuReM'], [1450896638, '+', 'PoDuReM'], [1450896452, '-', 'Posos'], [1450896444, '+', 'Posos'], [1450895560, '-', 'PoDuReM'], [1450895552, '+', 'PoDuReM'], [1450895460, '+', 'PalchikovNick'], [1450895408, '-', 'PalchikovNick'], [1450743768, '-', 'Yukiko'], [1450737068, '-', 'PoDuReM'], [1450737064, '+', 'PoDuReM'], [1450729800, '-', 'PoDuReM'], [1450729795, '+', 'PoDuReM'], [1450729040, '+', 'josdas'], [1450728928, '-', 'PoDuReM'], [1450728924, '+', 'PoDuReM'], [1450728895, '-', 'sliva'], [1450728895, '+', 'sliva'], [1450728784, '-', 'Starcall'], [1450728780, '+', 'Starcall'], [1450728748, '-', 'Posos'], [1450728744, '+', 'Posos'], [1450728728, '-', 'PoDuReM'], [1450728724, '+', 'PoDuReM'], [1450728588, '-', 'r_0_P_i_Jl_K_A'], [1450728584, '+', 'r_0_P_i_Jl_K_A'], [1450728088, '-', 'josdas'], [1450728072, '+', 'josdas'], [1450728060, '-', 'josdas'], [1450728049, '+', 'Maslov'], [1450728032, '-', 'Maslov'], [1450728028, '+', 'josdas'], [1450727984, '-', 'josdas'], [1450727980, '+', 'Vitalya'], [1450727956, '-', 'Vitalya'], [1450727952, '+', 'josdas'], [1450727948, '-', 'josdas'], [1450727944, '+', 'josdas'], [1450727932, '-', 'josdas'], [1450727928, '+', 'josdas'], [1450727920, '-', 'josdas'], [1450727912, '+', 'josdas'], [1450727884, '+', 'senek_K'], [1450724716, '-', 'r_0_P_i_Jl_K_A'], [1450724716, '-', 'senek_K'], [1450724712, '+', 'r_0_P_i_Jl_K_A'], [1450724688, '-', 'Posos'], [1450724684, '+', 'Posos'], [1450724584, '-', 'PoDuReM'], [1450724580, '+', 'PoDuReM'], [1450724536, '-', 'Posos'], [1450724532, '+', 'Posos'], [1450724296, '-', 'josdas'], [1450724292, '+', 'josdas'], [1450724276, '-', 'Posos'], [1450724272, '+', 'Posos'], [1450724232, '-', 'r_0_P_i_Jl_K_A'], [1450724224, '+', 'r_0_P_i_Jl_K_A'], [1450645232, '-', 'alexxx998'], [1450439856, '-', 'atem_111'], [1450439692, '-', 'KSergey'], [1450439664, '+', 'atem_111'], [1450392397, '+', 'hey_boris'], [1450392348, '-', 'hey_boris'], [1450392332, '+', 'PalchikovNick'], [1450134043, '-', 'atem_111'], [1450133973, '+', 'alexxx998'], [1450133940, '-', 'alexxx998'], [1450132931, '+', 'KSergey'], [1449859656, '-', 'Dogzik'], [1449859648, '+', 'Whizzpered'], [1449774448, '-', 'Posos'], [1449774448, '+', 'Dogzik'], [1449752164, '-', 'Whizzpered'], [1449609215, '+', 'hey_boris'], [1449609208, '-', 'hey_boris'], [1449609204, '+', 'Posos'], [1449601168, '-', 'sliva'], [1449528720, '-', 'Kniaz'], [1449528707, '+', 'manoprenko'], [1449521120, '-', 'romanasa3'], [1449521108, '+', 'romanasa3'], [1449521059, '-', 'manoprenko'], [1449520944, '-', 'romanasa3'], [1449520932, '+', 'romanasa3'], [1449518416, '-', 'grumpy_gordon'], [1449518412, '+', 'Denisson'], [1449518384, '-', 'Denisson'], [1449518380, '+', 'manoprenko'], [1449515860, '-', 'manoprenko'], [1449515856, '+', 'sliva'], [1449417756, '-', 'Omrigan'], [1449417668, '+', 'Bober'], [1449417084, '-', 'Bober'], [1449416984, '+', 'Kniaz'], [1449415884, '-', 'PalchikovNick'], [1449344444, '-', 'Dogzik'], [1449344436, '+', 'grumpy_gordon'], [1449344328, '-', 'grumpy_gordon'], [1449264875, '-', 'r_0_P_i_Jl_K_A'], [1449264867, '+', 'r_0_P_i_Jl_K_A'], [1449264847, '-', 'r_0_P_i_Jl_K_A'], [1449264840, '+', 'r_0_P_i_Jl_K_A'], [1449264810, '-', 'romanasa'], [1449264801, '+', 'romanasa'], [1449249984, '+', 'PalchikovNick'], [1449100204, '-', 'Posos'], [1449100200, '+', 'Posos'], [1449100200, '-', 'josdas'], [1449100195, '+', 'josdas'], [1449100172, '-', 'Posos'], [1449100168, '+', 'Posos'], [1449100158, '-', 'Posos'], [1449100154, '+', 'Posos'], [1449100140, '-', 'Posos'], [1449100139, '+', 'Posos'], [1449100107, '-', 'Posos'], [1449100103, '+', 'Posos'], [1449099957, '-', 'Posos'], [1449099953, '+', 'Posos'], [1449099932, '-', 'Posos'], [1449099928, '+', 'Posos'], [1449099728, '-', 'Posos'], [1449099724, '+', 'Maslov'], [1449099694, '+', 'Posos'], [1448929276, '+', 'Omrigan'], [1448701580, '-', 'romanasa'], [1448576380, '-', 'r_0_P_i_Jl_K_A'], [1448576376, '+', 'romanasa'], [1448575851, '+', 'r_0_P_i_Jl_K_A'], [1448469932, '-', 'Kniaz'], [1448469688, '+', 'Dogzik'], [1448469640, '-', 'PoDuReM'], [1448458864, '-', 'ypavel31'], [1448392604, '-', 'Starcall'], [1448392600, '+', 'Starcall'], [1448389352, '+', 'alexxx998'], [1448319849, '-', 'alexxx998'], [1448315236, '-', 'Dogzik'], [1448305624, '-', 'Posos'], [1448305512, '-', 'PalchikovNick'], [1448302904, '+', 'Whizzpered'], [1448207149, '-', 'Maslov'], [1448207133, '+', 'Posos'], [1448119476, '-', 'KSergey'], [1448119476, '+', 'KSergey'], [1448064232, '-', 'Posos'], [1448059543, '+', 'PalchikovNick'], [1447856836, '-', 'alkurmtl'], [1447856824, '+', 'alkurmtl'], [1447795751, '-', 'r_0_P_i_Jl_K_A'], [1447795743, '+', 'Posos'], [1447793983, '-', 'PalchikovNick'], [1447793548, '+', 'ypavel31'], [1447785380, '-', 'KSergey'], [1447700744, '+', 'PalchikovNick'], [1447698404, '-', 'ypavel31'], [1447698303, '-', 'PalchikovNick'], [1447698196, '+', 'PalchikovNick'], [1447698112, '+', 'KSergey'], [1447489920, '-', 'Posos'], [1447489692, '-', 'romanasa3'], [1447488334, '-', 'eriksa'], [1447367023, '-', 'josdas'], [1447278884, '-', 'PalchikovNick'], [1447277363, '+', 'r_0_P_i_Jl_K_A'], [1447267528, '-', 'Starcall'], [1447196951, '+', 'PalchikovNick'], [1447194087, '+', 'Platinumda'], [1447193338, '+', 'josdas'], [1447185068, '-', 'Platinumda'], [1447181868, '-', 'josdas'], [1447181836, '-', 'r_0_P_i_Jl_K_A'], [1447166680, '-', 'KSergey'], [1447107153, '+', 'Platinumda'], [1447103467, '-', 'Platinumda'], [1447100624, '+', 'KSergey'], [1447099452, '-', 's.egorov'], [1447099207, '-', 'KSergey'], [1447096668, '-', 'PalchikovNick'], [1447091620, '+', 'PalchikovNick'], [1447026852, '-', 'PalchikovNick'], [1447024531, '+', 'PalchikovNick'], [1447019612, '+', 'KSergey'], [1446929400, '+', 's.egorov'], [1446831336, '-', 'KSergey'], [1446823496, '+', 'KSergey'], [1446795741, '-', 'KSergey'], [1446771636, '+', 'KSergey'], [1446766369, '+', 'josdas'], [1446658708, '-', 'KSergey'], [1446597716, '-', 'josdas'], [1446510804, '-', 'Andreikkaa'], [1446499264, '+', 'Ershov_Oleg'], [1446499052, '+', 'KSergey'], [1446419424, '-', 'KSergey'], [1446416919, '+', 'KSergey'], [1446400160, '+', 'ypavel31'], [1446399204, '-', 'ypavel31'], [1446341984, '-', 'KSergey'], [1446331635, '-', 'PalchikovNick'], [1446331328, '+', 'PalchikovNick'], [1446331117, '+', 'KSergey'], [1446293324, '-', 'menshikov'], [1446246196, '+', 'Platinumda'], [1446239040, '+', 'menshikov'], [1446238103, '-', 'menshikov'], [1446231632, '+', 'menshikov'], [1446047024, '+', 'josdas'], [1445979736, '-', 'josdas'], [1445891379, '-', 'PalchikovNick'], [1445890876, '+', 'josdas'], [1445890735, '+', 'PalchikovNick'], [1445890663, '+', 'zloyplace35'], [1445890431, '+', 'Andreikkaa'], [1445887292, '-', 'Platinumda'], [1445809092, '+', 'wafemand'], [1445791216, '-', 'KSergey'], [1445777304, '+', 'KSergey'], [1445717967, '-', 'gostkin'], [1445684884, '-', 'KSergey'], [1445537788, '-', 'Ershov_Oleg'], [1445376984, '-', 'wafemand'], [1445284700, '-', 'zloyplace35'], [1445284675, '-', 'romanasa'], [1445283936, '+', 'KSergey'], [1445283680, '-', 'PalchikovNick'], [1445283248, '+', 'PalchikovNick'], [1445200268, '-', 'PalchikovNick'], [1445199908, '+', 'PalchikovNick'], [1445197076, '-', 's.egorov'], [1445196627, '-', 'PikMike']]
  56. #open("tmp4.txt", "w").write(str(actions))
  57. contests = [791, 789, 788, 787, 786, 785, 782, 781, 780, 779, 778, 777, 776, 771, 768, 767, 766, 765, 764, 763, 760, 759, 758, 757, 756, 755, 754, 752, 750, 749, 748, 747, 746, 745, 744, 743, 742, 741, 740, 739, 738, 737, 736, 735, 734, 733, 732, 731, 729, 727, 725, 724, 723, 722, 721, 719, 716, 715, 714, 713, 711, 709, 708, 707, 706, 705, 704, 701, 700, 699, 698, 697, 696, 689, 688, 687, 686, 685, 682, 681, 680, 679, 677, 676, 675, 674, 673, 672, 671, 670, 669, 667, 666, 662, 659, 658, 655, 653, 651, 650, 649, 648, 645, 643, 641, 639, 635, 634, 633, 631, 629, 627, 626, 625, 624, 623, 621, 618, 617, 615, 614, 613, 611, 610, 608, 607, 606, 605, 604, 603, 602, 601, 599, 596, 593, 592, 591, 590, 588, 587, 586, 585, 584, 583, 582, 581, 580, 579, 578, 577, 576, 574, 573, 572, 571, 570, 569, 568, 567, 566, 560, 559, 558, 557, 556, 555, 554, 553, 552, 551, 550, 549, 548, 547, 546, 545, 544, 543, 542, 541, 540, 538, 536, 535, 534, 533, 532, 529, 528, 527, 526, 525, 524, 519, 518, 516, 515, 514, 513, 512, 510, 509, 508, 507, 506, 505, 504, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 490, 489, 488, 487, 486, 483, 482, 480, 479, 478, 477, 476, 475, 474, 472, 471, 469, 468, 467, 466, 465, 464, 463, 462, 461, 460, 459, 458, 456, 455, 454, 453, 452, 451, 450, 448, 447, 446, 445, 444, 443, 442, 441, 439, 438, 437, 436, 435, 434, 433, 432, 431, 430, 429, 427, 426, 425, 424, 421, 419, 418, 417, 416, 415, 414, 413, 412, 408, 407, 406, 405, 404, 403, 402, 401, 400, 388, 387, 385, 384, 383, 382, 381, 380, 379, 378, 377, 376, 375, 373, 372, 371, 370, 369, 368, 367, 365, 364, 363, 362, 361, 360, 359, 358, 356, 354, 353, 352, 351, 350, 349, 348, 347, 346, 344, 343, 342, 341, 340, 339, 338, 337, 335, 333, 332, 331, 330, 329, 327, 325, 322, 321, 318, 317, 316, 315, 314, 313, 304, 303, 300, 299, 298, 296, 294, 293, 292, 289, 288, 287, 285, 284, 283, 282, 281, 279, 278, 277, 276, 275, 274, 273, 272, 271, 270, 269, 268, 266, 265, 264, 263, 262, 261, 260, 259, 257, 255, 254, 252, 251, 249, 248, 246, 245, 242, 241, 238, 237, 236, 235, 234, 233, 232, 231, 230, 229, 227, 226, 225, 224, 223, 220, 219, 218, 217, 204, 201, 198, 196, 193, 191, 189, 180, 178, 177, 176, 175, 174, 173, 166, 161, 160, 157, 156, 155, 154, 152, 151, 150, 149, 148, 145, 142, 140, 139, 138, 136, 135, 132, 131, 129, 127, 123, 122, 118, 116, 114, 113, 112, 111, 109, 107, 106, 105, 104, 102, 96, 94, 92, 90, 88, 84, 82, 81, 80, 79, 78, 77, 75, 74, 73, 71, 70, 69, 68, 67, 66, 65, 62, 60, 57, 56, 55, 54, 51, 49, 48, 46, 38, 26, 25, 24, 17, 16]
  58. #open("tmp5.txt", "w").write(str(contests))
  59. dates = [1489851300, 1490803500, 1490803500, 1490281500, 1490281500, 1489590300, 1488719100, 1488719100, 1488705300, 1488096300, 1488096300, 1487930700, 1487861100, 1489851300, 1487606700, 1487408700, 1486487100, 1487059500, 1486042500, 1486042500, 1485108900, 1485108900, 1484838300, 1484235300, 1485108900, 1484499900, 1483713300, 1482656700, 1483107300, 1482165300, 1482656700, 1482113100, 1482057300, 1481992500, 1481992500, 1481726100, 1481034900, 1481034900, 1479918900, 1479918900, 1479632700, 1479632700, 1480264500, 1480264500, 1479227700, 1477922700, 1476714900, 1476611100, 1479632700, 1476522300, 1477148700, 1475928900, 1475494500, 1475330700, 1475244300, 1474635900, 1474119900, 1474119900, 1473784500, 1473784500, 1472472300, 1472056500, 1472056500, 1471698300, 1470933300, 1470578700, 1470578700, 1469205300, 1469205300, 1468933500, 1468933500, 1468514100, 1468514100, 1467822900, 1467219900, 1467219900, 1466699700, 1466699700, 1466181300, 1465922100, 1465403700, 1465403700, 1464798900, 1464188700, 1463416500, 1462633500, 1462633500, 1462984500, 1462984500, 1462464300, 1461515700, 1461947700, 1461947700, 1460729700, 1459353900, 1459182900, 1458318900, 1458376500, 1457342700, 1457342700, 1458975600, 1458745200, 1458318900, 1462633500, 1461515700, 1459182900, 1456683000, 1456683000, 1456506900, 1457022900, 1455986100, 1456683000, 1455384900, 1454835900, 1454605500, 1454605500, 1454249100, 1454087400, 1453563300, 1452261900, 1452789300, 1452789300, 1451487900, 1451215200, 1450888500, 1450888500, 1449677100, 1449677100, 1448984100, 1448984100, 1448382900, 1448382900, 1448037300, 1447605300, 1446655500, 1446309000, 1445763600, 1445763600, 1444926600, 1444926600, 1444641000, 1444641000, 1444149000, 1443890700, 1443890700, 1443430800, 1442939400, 1442416500, 1442416500, 1441902600, 1441902600, 1440865800, 1440865800, 1440261000, 1440261000, 1439483400, 1439224200, 1439224200, 1438790400, 1438273200, 1437573600, 1437573600, 1436886600, 1435676400, 1435414200, 1435414200, 1435163400, 1435163400, 1434645000, 1434127500, 1433435400, 1433595600, 1432658100, 1432658100, 1432312200, 1432053000, 1431016200, 1431016200, 1430668800, 1430668800, 1430411400, 1430064000, 1429029300, 1429029300, 1428854400, 1429286400, 1429286400, 1426956300, 1426610700, 1426610700, 1428165300, 1427387400, 1426946400, 1425128400, 1424795400, 1424190900, 1424190900, 1423931400, 1423328400, 1422894600, 1422894600, 1422705600, 1422376200, 1422028800, 1421586000, 1421586000, 1421053200, 1421053200, 1419951600, 1419438600, 1419438600, 1418833800, 1418833800, 1418488200, 1418488200, 1417618800, 1417451400, 1416733800, 1416238500, 1416590400, 1416590400, 1415718000, 1414170000, 1414170000, 1413709200, 1413709200, 1413474000, 1413122400, 1413122400, 1412514000, 1412609400, 1411918500, 1411745400, 1411218000, 1411218000, 1411054200, 1410535800, 1410103800, 1410103800, 1409383800, 1409061600, 1409061600, 1408548600, 1408116600, 1407690000, 1407511800, 1407511800, 1406907000, 1406907000, 1406480400, 1406215800, 1405774800, 1405605600, 1405256400, 1405256400, 1404651900, 1404651900, 1403191800, 1403191800, 1402241400, 1401895800, 1401627600, 1401627600, 1402673400, 1401463800, 1400914800, 1400914800, 1400167800, 1400686200, 1399822800, 1399822800, 1399044600, 1398612600, 1398612600, 1398409200, 1398168900, 1398169200, 1397749200, 1397749200, 1397376000, 1396798800, 1396798800, 1397977200, 1397837400, 1396162800, 1396162800, 1395502200, 1395502200, 1395243000, 1394983800, 1394983800, 1394465400, 1394033400, 1391442000, 1391095800, 1390577700, 1390231800, 1390231800, 1389972600, 1389540600, 1389540600, 1388417400, 1388331000, 1388331000, 1387893600, 1387893600, 1386943200, 1386943200, 1386493200, 1386399600, 1385739000, 1385479800, 1385479800, 1384875000, 1384875000, 1384156800, 1384443000, 1384102800, 1384102800, 1383379200, 1382715000, 1381838400, 1381678200, 1381419000, 1380900600, 1380900600, 1380641400, 1380295800, 1380295800, 1379691000, 1379691000, 1379172600, 1379172600, 1378540800, 1377876600, 1377876600, 1377531000, 1376668800, 1376668800, 1375549200, 1374913800, 1374679800, 1374075000, 1374327000, 1374327000, 1372941000, 1373734800, 1372433400, 1372433400, 1371223800, 1371223800, 1371042000, 1370619000, 1370619000, 1369927800, 1368363600, 1368363600, 1366903800, 1366644600, 1366385400, 1365694200, 1365348600, 1366644900, 1366040100, 1364916600, 1364916600, 1364025600, 1363879800, 1363534200, 1363534200, 1363188600, 1362929400, 1362411000, 1362065400, 1362065400, 1361719800, 1361374200, 1361374200, 1360769400, 1360769400, 1360596600, 1359732600, 1359732600, 1359387000, 1358868600, 1358686800, 1358686800, 1358350200, 1358091000, 1358091000, 1356622500, 1356190200, 1357659000, 1355671800, 1355047200, 1354807800, 1354807800, 1353857400, 1353857400, 1353511800, 1353339000, 1352647800, 1351783800, 1352044800, 1351179000, 1350803400, 1350803400, 1350370800, 1349969400, 1349969400, 1349623800, 1349105400, 1349105400, 1348500600, 1348500600, 1348069500, 1347809400, 1347809400, 1346427000, 1346081400, 1345273500, 1345273500, 1342020600, 1340983800, 1340379000, 1339506000, 1338737400, 1338132600, 1336663800, 1335078000, 1335614400, 1335016800, 1334934300, 1334390400, 1333897500, 1333724400, 1332516600, 1331478300, 1331046000, 1330536600, 1330536600, 1330095600, 1330095600, 1329750000, 1329490800, 1329490800, 1328886000, 1328198400, 1327215600, 1326380700, 1325689200, 1324728000, 1324728000, 1323443100, 1323443100, 1322924400, 1322233200, 1321337400, 1320858000, 1320333000, 1319727600, 1317999600, 1316098800, 1315494000, 1315494000, 1315051200, 1315051200, 1314633600, 1314111600, 1313766000, 1313247600, 1312714800, 1312390800, 1310137200, 1309446000, 1308582000, 1308236400, 1307458800, 1305299400, 1304694000, 1304485200, 1303226100, 1304175600, 1303916400, 1303226100, 1302706800, 1302879600, 1302422400, 1301410800, 1301155200, 1300809600, 1300464000, 1300033800, 1299513600, 1299340800, 1298649600, 1298131200, 1295971200, 1295626200, 1294992000, 1294733700, 1293552000, 1292601600, 1292140800, 1291536000, 1288440000, 1281970800, 1280761200, 1280149200, 1276182000, 1275570000]
  60.  
  61. tm = [[dates[i], contests[i]] for i in range(len(dates))]
  62. tm.sort()
  63. tm = tm[::-1]
  64.  
  65. for i in range(len(tm)):
  66.     dates[i] = tm[i][0]
  67.     contests[i] = tm[i][1]
  68.  
  69. '''
  70. for contest in contests:
  71.     print(contest)
  72.     if (contest == 579) or (contest == 578):
  73.         dates.append(1442416500)
  74.     else:
  75.         with urllib.request.urlopen("http://codeforces.com/api/contest.standings?contestId=" + str(contest) + "&from=1&count=1") as response:
  76.             html = str(response.read())[2:-1].replace('\\x', '.')
  77.             tmp = json.loads(html)["result"]
  78.             dates.append(tmp["contest"]["startTimeSeconds"])
  79.         time.sleep(0.3)
  80. '''
  81. #print(contests)
  82.  
  83. lstContest = 0
  84. lst = {}
  85. for user in users:
  86.     lst[user] = len(ratings[user]) - 1
  87. cur = []
  88.  
  89. out = open("res.txt", "w")
  90.  
  91. ans = []
  92. flag = True
  93.  
  94. for action in actions:
  95.     if (action[0] != 1514678400 and flag):
  96.         res = 0
  97.         for i in cur:
  98.             res += rating[i]
  99.         print("2017-04-07")
  100.         print([[x, rating[x]] for x in sorted(cur, key=lambda x: [-rating[x], x])])
  101.         print()
  102.        
  103.         ans.append(["'2017-04-07'", str(int(res / len(cur)))])
  104.        
  105.         flag = False
  106.  
  107.     while (lstContest < len(dates)) and (action[0] < dates[lstContest]):
  108.         res = 0
  109.         for i in cur:
  110.             res += rating[i]
  111.         print(contests[lstContest], time.strftime("%Y-%m-%d", time.gmtime(dates[lstContest])))
  112.         print([[x, rating[x]] for x in sorted(cur, key=lambda x: [-rating[x], x])])
  113.         print()
  114.        
  115.         ans.append([time.strftime("'%Y-%m-%d'", time.gmtime(dates[lstContest])), str(int(res / len(cur)))])
  116.         # ans.append([str(dates[lstContest]), str(int(res / len(cur)))])
  117.        
  118.         for user in users:
  119.             if (user in cur) and (lst[user] >= 0) and (ratings[user][lst[user]][0] == contests[lstContest]):
  120.                 rating[user] = ratings[user][lst[user]][1]
  121.                 lst[user] -= 1
  122.         lstContest += 1
  123.  
  124.     if (action[1] == '-'):
  125.         cur.remove(action[2])
  126.     else:
  127.         cur.append(action[2])
  128.        
  129. out.write("[" + ', '.join([x[0] for x in ans]) + "]\n")
  130. out.write(str([int(x[1]) for x in ans]) + "\n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement