Help me in solving LUCKYSEVEN problem

My issue

what is test case 1?

My code

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

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

/* 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 sc = new Scanner(;
		String str = sc.nextLine();
		if(str.length() == 10){
		char luckyLetter = str.charAt(7);
		    System.out.println("Plese provide string of 10 letter");

Problem Link: LUCKYSEVEN Problem - CodeChef

cook your dish here

s = input().strip()

Chef’s lucky letter is the 7th character in the string (0-based indexing)

lucky_letter = s[6]

Print Chef’s lucky letter