Help me in solving DECINC problem that i can't understand the error

My issue

My code

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

import java.util.Scanner;
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)
	{
		// your code goes here
		Scanner sc = new Scanner(System.in);
		int n =s.nextInt();
		if(n%4 == 0) {
		    System.out.println(n+1);
		}else {
		    System.out.println(n-1);
		}
	}
}

Problem Link: DECINC Problem - CodeChef

@aashu_kumawat

it should be int n=sc.nextInt();