Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.*;
- import java.util.*;
- public class Entry {
- public static void main(String[] args) {
- Scanner in = new Scanner(System.in);
- PrintWriter out = new PrintWriter(System.out);
- String s = in.next();
- char c = s.charAt(0);
- if('0' <= c && c <= '9') {
- System.out.println("yes");
- } else {
- System.out.println("no");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment