Language: C++

import static java.lang.System.out;
import java.lang.Math;
import java.io.InputStream;
import java.io.IOException;
import java.util.NoSuchElementException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.Collections;

public class Main {
    public static void main(String args[]) {
        new Main().run();
    }

    MyInput in = new MyInput();
    public void run() {
        int a = in.nextInt();
        int b = in.nextInt();
        int c = in.nextInt();
        if(a + b >= c)
            out.println("Yes");
        else 
            out.println("No");
    }
}

class MyInput {
    private final InputStream in = System.in;
    private final byte[] buffer = new byte[1024];
    private int ptr= 0;
    private int buflen = 0;
    private boolean hasNextByte() {
        if(ptr < buflen) {
            return true;
        }else {
            ptr = 0;
            try {
                buflen = in.read(buffer);
            } catch(IOException e) {
                e.printStackTrace();
            }
            if(buflen <= 0) {
                return false;
            }
        }
        return true;
    }

    public int readByte() {
        if (hasNextByte()) return buffer[ptr++];
        else return -1;
    }

    private static boolean isPrintableChar(int c) {
        return 33 <= c && c <=126;
    }

    private void skipUnprintable() {
        while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
    }

    public boolean hasNext() {
        skipUnprintable();
        return hasNextByte();
    }

    public String next() {
        if(!hasNext()) throw new NoSuchElementException();
        StringBuilder sb = new StringBuilder();
        int b = readByte();
        while(isPrintableChar(b)) {
            sb.appendCodePoint(b);
            b = readByte();
        }
        return sb.toString();
    }

    public long nextLong() {
        if(!hasNext()) throw new NoSuchElementException();
        long n = 0;
        boolean minus = false;
        int b = readByte();
        if (b == '-') {
            minus = true;
            b = readByte();
        }
        if(b < '0' || '9' < b) {
            throw new NumberFormatException();
        }
        while(true) {
        if('0' <= b && b <= '9') {
            n *= 10;
            n += b - '0';
        }else if(b == -1 || !isPrintableChar(b)) {
            return minus ? -n : n;
        }else {
            throw new NumberFormatException();
        }
            b = readByte();
        }
  }

    public int nextInt() {
        long nl = nextLong();
        if(nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();
        return (int) nl;
    }

    public double nextDouble() {
        return Double.parseDouble(next());
    }
}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import static java.lang.System.out;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
    2 | import java.lang.Math;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: 'import' does not name a type
    3 | import java.io.InputStream;
      | ^~~~~~
a.cc:3:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:1: error: 'import' does not name a type
    4 | import java.io.IOException;
      | ^~~~~~
a.cc:4:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:5:1: error: 'import' does not name a type
    5 | import java.util.NoSuchElementException;
      | ^~~~~~
a.cc:5:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:6:1: error: 'import' does not name a type
    6 | import java.util.ArrayList;
      | ^~~~~~
a.cc:6:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:7:1: error: 'import' does not name a type
    7 | import java.util.Arrays;
      | ^~~~~~
a.cc:7:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:8:1: error: 'import' does not name a type
    8 | import java.util.LinkedList;
      | ^~~~~~
a.cc:8:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:9:1: error: 'import' does not name a type
    9 | import java.util.Collections;
      | ^~~~~~
a.cc:9:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:11:1: error: expected unqualified-id before 'public'
   11 | public class Main {
      | ^~~~~~
a.cc:29:12: error: expected ':' before 'final'
   29 |     private final InputStream in = System.in;
      |            ^~~~~~
      |            :
a.cc:29:13: error: 'final' does not name a type
   29 |     private final InputStream in = System.in;
      |             ^~~~~
a.cc:30:12: error: expected ':' before 'final'
   30 |     private final byte[] buffer = new byte[1024];
      |            ^~~~~~
      |            :
a.cc:30:13: error: 'final' does not name a type
   30 |     private final byte[] buffer = new byte[1024];
      |             ^~~~~
a.cc:31:12: error: expected ':' before 'int'
   31 |     private int ptr= 0;
      |            ^~~~
      |            :
a.cc:32:12: error: expected ':' before 'int'
   32 |     private int buflen = 0;
      |            ^~~~
      |            :
a.cc:33:12: error: expected ':' before 'boolean'
   33 |     private boolean hasNextByte() {
      |            ^~~~~~~~
      |            :
a.cc:33:13: error: 'boolean' does not name a type; did you mean 'bool'?
   33 |     private boolean hasNextByte() {
      |             ^~~~~~~
      |             bool
a.cc:50:11: error: expected ':' before 'int'
   50 |     public int readByte() {
      |           ^~~~
      |           :
a.cc:55:12: error: expected ':' before 'static'
   55 |     private static boolean isPrintableChar(int c) {
      |            ^~~~~~~
      |            :
a.cc:55:20: error: 'boolean' does not name a type; did you mean 'bool'?
   55 |     private static boolean isPrintableChar(int c) {
      |                    ^~~~~~~
      |                    bool
a.cc:59:12: error: expected ':' before 'void'
   59 |     private void skipUnprintable() {
      |            ^~~~~
      |            :
a.cc:63:11: error: expected ':' before 'boolean'
   63 |     public boolean hasNext() {
      |           ^~~~~~~~
      |           :
a.cc:63:12: error: 'boolean' does not name a type; did you mean 'bool'?
   63 |     public boolean hasNext() {
      |            ^~~~~~~
      |            bool
a.cc:68:11: error: expected ':' before 'String'
   68 |     public String next() {
      |           ^~~~~~~
      |           :
a.cc:68:12: error: 'String' does not name a type
   68 |     public String next() {
      |            ^~~~~~
a.cc:79:11: error: expected ':' before 'long'
   79 |     public long nextLong() {
      |           ^~~~~
      |           :
a.cc:104:11: error: expected ':' before 'int'
  104 |     public int nextInt() {
      |           ^~~~
      |           :
a.cc:110:11: error: expected ':' before 'double'
  110 |     public double nextDouble() {
      |           ^~~~~~~
      |           :
a.cc:113:2: error: expected ';' after class definition
  113 | }
      |  ^
      |  ;
a.cc: In member function 'int MyInput::readByte()':
a.cc:51:13: error: 'hasNextByte' was not declared in this scope
   51 |         if (hasNextByte()) return buffer[ptr++];
      |             ^~~~~~~~~~~
a.cc:51:35: error: 'buffer' was not declared in this scope; did you mean 'buflen'?
   51 |         if (hasNextByte()) return buffer[ptr++];
      |                                   ^~~~~~
      |                                   buflen
a.cc: In member function 'void MyInput::skipUnprintable()':
a.cc:60:15: error: 'hasNextByte' was not declared in this scope
   60 |         while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
      |               ^~~~~~~~~~~
a.cc:60:49: error: 'buffer' was not declared in this scope; did you mean 'buflen'?
   60 |         while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
      |                                                 ^~~~~~
      |                                                 buflen
a.cc:60:33: error: 'isPrintableChar' was not declared in this scope
   60 |         while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
      |                                 ^~~~~~~~~~~~~~~
a.cc: In member function 'long int MyInput::nextLong()':
a.cc:80:13: error: 'hasNext' was not declared in this scope
   80 |         if(!hasNext()) throw new NoSuchElementException();
      |             ^~~~~~~
a.cc:80:34: error: expected type-specifier before 'NoSuchElementException'
   80 |         if(!hasNext()) throw new NoSuchElementException();
      |                                  ^~~~~~~~~~~~~~~~~~~~~~
a.cc:82:9: error: 'boolean' was not declared in this scope; did you mean 'bool'?
   82 |         boolean minus = false;
      |         ^~~~~~~
      |         bool
a.cc:85:13: error: 'minus' was not declared in this scope
   85 |             minus = true;
      |             ^~~~~
a.cc:89:23: error: expected type-specifier before 'NumberFormatException'
   89 |             throw new NumberFormatException();
      |                       ^~~~~~~~~~~~~~~~~~~~~
a.cc:95:30: error: 'isPrintableChar' was not declared in this scope
   95 |         }else if(b == -1 || !isPrintableChar(b)) {
      |                              ^~~~~~~~~~~~~~~
a.cc:96:20: error: 'minus' was not declared in this scope
   96 |             return minus ? -n : n;
      |                    ^~~~~
a.cc:98:23: error: expected type-specifier before 'NumberFormatException'
   98 |             throw new NumberFormatException();
      |                       ^~~~~~~~~~~~~~~~~~~~~
a.cc: In member function 'int MyInput::nextInt()':
a.cc:106:17: error: 'Integer' was not declared in this scope
  106 |         if(nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();
      |                 ^~~~~~~
a.cc:106:72: error: expected type-specifier before 'NumberFormatException'
  106 |         if(nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();
      |                                                                        ^~~~~~~~~~~~~~~~~~~~~
a.cc: In member function 'double MyInput::nextDouble()':
a.cc:111:16: error: 'Double' was not declared in this scope; did you mean 'double'?
  111 |         return Double.parseDouble(next());
      |                ^~~~~~
      |                double
a.cc:111:35: error: 'next' was not declared in this scope; did you mean 'nextInt'?
  111 |         return Double.parseDouble(next());
      |                                   ^~~~
      |                                   nextInt