Language: C

import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author Nikita Mikhailov
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        FastScanner in = new FastScanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskA solver = new TaskA();
        solver.solve(1, in, out);
        out.close();
    }

    static class TaskA {
        public void solve(int testNumber, FastScanner in, PrintWriter out) {

            int x = in.readInt();
            if (x % 10 == 7 || (x / 10) % 10 == 7 || (x / 100) % 10 == 7) {
                out.println("Yes");
            } else {
                out.println("No");
            }
        }

    }

    static class FastScanner {
        private StringTokenizer st;
        private BufferedReader in;

        public FastScanner(final InputStream in) {
            this.in = new BufferedReader(new InputStreamReader(in));
        }

        public String readToken() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    st = new StringTokenizer(in.readLine());
                } catch (final IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return st.nextToken();
        }

        public int readInt() {
            return Integer.parseInt(readToken());
        }

    }
}



Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.io.OutputStream;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.io.OutputStream;
      |            ^
main.c:2:1: error: unknown type name 'import'
    2 | import java.io.IOException;
      | ^~~~~~
main.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | import java.io.IOException;
      |            ^
main.c:3:1: error: unknown type name 'import'
    3 | import java.io.InputStream;
      | ^~~~~~
main.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | import java.io.InputStream;
      |            ^
main.c:4:1: error: unknown type name 'import'
    4 | import java.io.PrintWriter;
      | ^~~~~~
main.c:4:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 | import java.io.PrintWriter;
      |            ^
main.c:5:1: error: unknown type name 'import'
    5 | import java.util.StringTokenizer;
      | ^~~~~~
main.c:5:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    5 | import java.util.StringTokenizer;
      |            ^
main.c:6:1: error: unknown type name 'import'
    6 | import java.io.IOException;
      | ^~~~~~
main.c:6:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    6 | import java.io.IOException;
      |            ^
main.c:7:1: error: unknown type name 'import'
    7 | import java.io.BufferedReader;
      | ^~~~~~
main.c:7:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    7 | import java.io.BufferedReader;
      |            ^
main.c:8:1: error: unknown type name 'import'
    8 | import java.io.InputStreamReader;
      | ^~~~~~
main.c:8:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    8 | import java.io.InputStreamReader;
      |            ^
main.c:9:1: error: unknown type name 'import'
    9 | import java.io.InputStream;
      | ^~~~~~
main.c:9:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    9 | import java.io.InputStream;
      |            ^
main.c:17:1: error: unknown type name 'public'
   17 | public class Main {
      | ^~~~~~
main.c:17:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
   17 | public class Main {
      |              ^~~~