#!/usr/bin/env python
# -*- coding: utf-8 -*-

""" script for generate process template directories

This is xxx
"""

if __name__ == '__main__':
    l = raw_input().upper().split()
    c = int(l[0])

    if c == 0:
        print '1'
    else:
        print c * 3

Add sample program