#1441. 计算机C13001第一次小组赛D题

计算机C13001第一次小组赛D题

题目描述

In the Maritime University , there is a tradition that is big flag-raising .

输入格式

第一行一个整数 n,接下来 n 行数据

输出格式

输出 2 行

样例

输入 # 1

1

2

输出 # 1

3

6