#!/usr/bin/env python2

from __future__ import absolute_import, division, print_function

import argparse
import os
import time


if __name__ == '__main__':
    p = argparse.ArgumentParser()
    p.add_argument('seconds', type=int)
    p.add_argument('files', nargs='+')
    args = p.parse_args()

    now = time.time()
    for fpath in args.files:
        stat = os.stat(fpath)
        if now - stat.st_mtime > args.seconds:
            print(fpath)
