Tên đăng nhập Điểm ▾ Bài tập Giới thiệu
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0

def count_squares(n):
return 1 + n * (n + 2)+n

Nhập số cành

n = int(input())

Tính và in ra số ô vuông

print(count_squares(n))

43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0

qưqdqd

43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0
43301 0 0