# Help me in solving FIT problem

### My issue

``````int X=scan.nextInt();
int T=scan.nextInt();
for(int T=0;T<=4;T++)
{
int a=(2X)*5;
System.out.println(a);
}
``````

### My code

``````/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Codechef
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner scan=new Scanner(System.in);
int X=scan.nextInt();
int T=scan.nextInt();
for(int T=0;T<=4;T++)
{
int a=(2X)*5;
System.out.println(a);
}

}
}

``````

Learning course: Basic Math using Java
Problem Link: CodeChef: Practical coding for everyone

``````/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Codechef
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner scan=new Scanner(System.in);

int T=scan.nextInt();
for(int i=0;i<T;i++)
{
int X=scan.nextInt();
int a=(2*X)*5;
System.out.println(a);
}

}
}``````