<reponame>henrimitte/Project-Euler
def solve():
    print(1000000 // 7 * 3 - 1)


if __name__ == '__main__':
    solve()

def solve():
    print(1000000 // 7 * 3 - 1)


if __name__ == '__main__':
    solve()