Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- class solution {
- public static void main(String[] args) {
- Scanner sc = new Scanner(System.in);
- String n = sc.nextLine();
- if (n.equals("0")) {
- System.out.println(1);
- }
- else if (n.equals("1")) {
- System.out.println(15);
- }
- else {
- char c = n.charAt(n.length() - 1);
- int a = Character.getNumericValue(c);
- if (a%2 == 0) {
- System.out.println(25);
- } else {
- System.out.println(75);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement