GUVI
Back

number

Created 3 years ago
226 Views
1 Comments
20CS081-KARTHIKEYANS
@20CS081-KARTHIKEYANS
20CS081-KARTHIKEYANS
@20CS081-KARTHIKEYANSProfile is locked. Login

A ‘zx’ number is a number which is formed from the sum of 3 numbers ,and the three numbers are such that their hcf equal to 1.

You are given a number.You have to tell whether the number is ‘zx’ or not,if yes then print the three numbers else 0

Input Description:
You are given a number ‘n’

Output Description:
Print the three numbers if n is ‘zx’ number in ascending order else 0

Sample Input :
7
Sample Output :
2 3 2

Comments
Please login to comment.
 
Powered by habitate.io Habitate