Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.*;
- import java.util.*;
- public class Solution {
- public static void main(String[] args) {
- /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */
- Scanner sc = new Scanner(System.in);
- System.out.println(sc.nextInt()%2==0?"genap":"ganjil");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement