Help me in solving SQUATS problem

My issue

hi,
in this problem iam not getting the logic, could you please help me to solve this problem

My code

#include <stdio.h>

int main(void) {
	// your code goes here
	return 0;
}


Problem Link: SQUATS Problem - CodeChef

You should multiply 15 with your initial value.

/* 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
	{
		// your code goes here
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		for(int i=0;i<n;i++){
		    int s=sc.nextInt();
		    int r=s*15;
		    System.out.println(r);
		}
	}
}


include<studio.h>
int main()
{
int i, n;
scanf(“%d”,&n);
for (i=0; i<n; i++)
{
int s, r;
scanf(“%d”,&s);
r=s*15;
printf(“%d\n”,r);
}
return 0;
}