import java.util.Scanner; public class Div3 { public static void main(String[] args) { Scanner input = new Scanner(System.in); int x = input.nextInt(); if ( (x%2 == 0) || (x%3 == 0) ) System.out.println("is divisible by 2 OR by 3"); else System.out.println("is NOT divisible by 2 NOR by 3"); } }