Help me in solving LPYAS151 problem

My issue

Armstrong number
Write a program to read the input and check if given number is Armstrong.

If the number is Armstrong Print “Armstrong"
Else, print “Not Armstrong”.
Note
What is an Armstrong number?
Armstrong number is
n
n digit number where the sum of
n
t
h
n
th
power of its each digits is equal to the same
n
n digit number.

Check the sample input / output given below.

Input Format
The first and only line of input will contain an integer
N
N which we need to check if they are Armstrong
Output Format
For each test case, output on a new line the following

If the number is Armstrong Print “Armstrong"
Else, print “Not Armstrong”.
Constraints
Number of digits in
N
N

10
≤10
Sample 1:
Input
Output
153
Armstrong
Explanation:
1
3
+
5
3
+
3
3

153
1
3
+5
3
+3
3
=153. Hence 153 is an Armstrong number

Sample 2:
Input
Output
370
Armstrong
Explanation:
3
3
+
7
3
+
0
3

370
3
3
+7
3
+0
3
=370. Hence 370 is an Armstrong number

Sample 3:
Input
Output
1431
Not Armstrong
Explanation:
1
4
+
4
4
+
3
4
+
1
4
!

1431
1
4
+4
4
+3
4
+1
4
!=1431. Hence 1431 is not an Armstrong number

My code

#include <stdio.h>

int main() {
	

}


Learning course: Algorithmic Problem Solving
Problem Link: https://www.codechef.com/learn/course/klu-problem-solving/KLUPS00A/problems/LPYAS151