#!/usr/bin/env python
# coding=utf-8

# def add(x, y):
#     return x+y
#
# x = (1, 2, 3)
# y = (4, 5, 6)

# grade = map(add, x, y)
# print(grade)


def sqr(x):
    return x ** 2


x1 = (2, 3, 4)

print(map(sqr, x1))
