Help me in solving FOODCOST problem

My issue

The first and only line of input contains
2
2 space-separated integers,

X and

Y.

My code

class codechef
{
    public static void main (String args[])
{
    int x=100;
    int y=500;
    System.out.println("x"+"y");
}
    
}

Problem Link: Food Costs Practice Coding Problem - CodeChef

@devika47
u have to do it like this

/* 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 x=sc.nextInt();
		int y=sc.nextInt();
		System.out.println(6*x+y);
	}
}

#include<stdio.h>
int main()
{
int x,y;
scanf(“%d%d”,&x,&y);
printf(“%d”,(6*x+y));
return 0;
}