SP19125 PIHEX2 - Hexadecimal value of Pi

Description

N/A

Input Format

The first line of input contains single integer t - the number of test cases (1 The second line of input contains t single-space separated integers a $ _{1} $ , a $ _{2} $ , ..., a $ _{t} $ (0

Output Format

The only line of output should contain t hexadecimal digits (use capital letters A-F), where i $ ^{th} $ digit appears in Pi hexadecimal representation at a $ _{i} $ $ ^{th} $ position.