Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|
Problem hidden on 2018-01-02 16:46:59 by noname00.pas

MULONE - Nhân 1




Cho số S = 111...11 (n chữ số 1, hệ thập phân), tính S2.

Input

- Dòng đầu tiên: số lượng test k.

- k dòng tiếp, mỗi dòng ghi số n - số lượng chữ số 1 của S. (1 <= n <= 1000000)

Output

- Với mỗi test ghi kết quả trên 1 dòng.

Example

Input:
2
1
2

Output:
1
121

Được gửi lên bởi:Nguyen Dinh Tu
Ngày:2006-01-18
Thời gian chạy:1s
Giới hạn mã nguồn:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Ngôn ngữ cho phép:C CSHARP C++ 4.3.2 CPP CPP14 C99 JAVA PAS-FPC PYTHON PYTHON3
Nguồn bài:

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.