SP4141 ETF - Euler Totient Function

Description

In number theory, the totient φ of a positive integer n is defined to be the number of positive integers less than or equal to n that are coprime to n. Given an integer n (1

Input Format

First line contains an integer T, the number of test cases. (T

Output Format

T lines, one for the result of each test case.