SP3587 PAGAIN - Prime Again

Description

[English](/problems/PAGAIN/en/) [Vietnamese](/problems/PAGAIN/vn/)In this problem, you have to find the nearest prime number smaller than N. (3

Input Format

The first line contains an integer T specifying the number of test cases. (T

Output Format

For each test case, output the result on one line.