#!/usr/bin/env python3

import time

current_time = int(time.time())


def n_days_ago(n):
    """Return the date n days ago as a human-consumable string."""
    struct_tm = time.localtime(current_time - i * 60 * 60 * 24)
    return time.strftime('%Y-%m-%d', struct_tm)


for i in range(3 * 365):
    print('%d %s' % (i, n_days_ago(i)))