A. The 67th Integer Problem

time limit per test

1 second

memory limit per test

256 megabytes

Welcome to the New World, O Esteemed Earthly Visitor. You've been summoned by Macaque, a primate with four legs, a god complex and a terminal addiction to the word "trivial". You are Undertaking a Journey of Great Importance. Such Incredible Importance. No Journey Will EVER be as IMPORTANT as this one (and nothing this narrator says will sound so distinctly... orange again). You are implored to cooperate with Macaque, for his wrath (and joblessness) are unending. There is no room for error or incompetence. Lousiness shall be met with the full force of the law.

Macaque is given an integer x. Your task is to choose an integer y such that the value of min(x,y)∗ is maximized.

If there are multiple valid y, you may output any of them.

∗min(x,y) is defined as the minimum of integers x and y.

Input

Each test contains multiple test cases. The first line contains the number of test cases t (1≤t≤6767). The description of the test cases follows.

The only line of each test case contains a single integer x (−67≤x≤67).

Output

For each test case, output one integer y (−67≤y≤67) such that min(x,y) is maximized.

Example

Input

Copy

复制代码
3
1
3
5

Output

Copy

复制代码
2
4
6

Note

In the first case, 2 is a possible answer because min(1,2)=1, which can be shown to be maximal.

解题说明:水题,因为x最大为67,输出67即可。

cpp 复制代码
#include <stdio.h>

int main() 
{
    int t, x;
    scanf("%d", &t);
    while (t--) 
    {
        scanf("%d", &x);
        printf("67\n");
    }
    return 0;
}
相关推荐
LDR0064 天前
Type-C 快充全面升级!LDR6601 赋能个人护理便携电机,重塑剃须刀 / 理发器新体验
c语言·开发语言
雪碧聊技术4 天前
Tree.js是什么?一文讲透
开发语言·javascript·ecmascript
码云数智-园园4 天前
C++20 Modules 模块详解
java·开发语言·spring
swordbob4 天前
NIO的channel中什么是 fd(File Descriptor,文件描述符)
java·开发语言·nio
源分享4 天前
Java线程同步的多种实现方法(非常详细)
java·开发语言·jvm
Luminous.4 天前
C语言--day30
c语言·开发语言
何以解忧,唯有..4 天前
Go语言循环语句详解:for、range与循环控制
开发语言·算法·golang
謓泽4 天前
C语言不是语法,是通往机器的地图。
c语言·开发语言
云水一下4 天前
从零开始学 PHP 系列(一):PHP 的前世今生与开发环境搭建
开发语言·php
飞天狗1114 天前
零基础JavaWeb入门——第五课第二小节:九大内置对象 · 第2个:response(响应对象)
java·开发语言