#!/usr/local/bin/python3.5
'''
Created on 2016. 11. 3.

@author: kitcoop
'''
import cgi
form = cgi.FieldStorage()

name = form.getvalue('name') #request.getparameter
gen = form.getvalue('gen') #request.getparameter
phone = form["tel"].value #request.getparameter

print('content type:text/html;charset=utf-8\n')
print(
    '''
    <html><body>
    
    name {0}
    tel {1}
    gen {2}
    </body></html>
    '''.format(name,phone,gen)
)