Language: C++

import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.NoSuchElementException;

public class Main {
	static FastScanner sc;
	static PrintWriter out;
	public static void main(String[] args){
		sc = new FastScanner();
		out = new PrintWriter(System.out);
		out.println(solve());
		out.flush();
	}

	static int solve(){
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();
		if(A>B){
			return A*10 + B + C;
		}else{
			return B*10 + A+ C;
		}
	}
}

class FastScanner {
    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;
    }
    private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}
    private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}
    public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; 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 java.io.IOException;
      | ^~~~~~
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.io.InputStream;
      | ^~~~~~
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.PrintWriter;
      | ^~~~~~
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.util.NoSuchElementException;
      | ^~~~~~
a.cc:4:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:6:1: error: expected unqualified-id before 'public'
    6 | 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:49:12: error: expected ':' before 'int'
   49 |     private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}
      |            ^~~~
      |            :
a.cc:50:12: error: expected ':' before 'static'
   50 |     private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}
      |            ^~~~~~~
      |            :
a.cc:50:20: error: 'boolean' does not name a type; did you mean 'bool'?
   50 |     private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}
      |                    ^~~~~~~
      |                    bool
a.cc:51:11: error: expected ':' before 'boolean'
   51 |     public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}
      |           ^~~~~~~~
      |           :
a.cc:51:12: error: 'boolean' does not name a type; did you mean 'bool'?
   51 |     public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}
      |            ^~~~~~~
      |            bool
a.cc:52:11: error: expected ':' before 'String'
   52 |     public String next() {
      |           ^~~~~~~
      |           :
a.cc:52:12: error: 'String' does not name a type
   52 |     public String next() {
      |            ^~~~~~
a.cc:62:11: error: expected ':' before 'long'
   62 |     public long nextLong() {
      |           ^~~~~
      |           :
a.cc:86:11: error: expected ':' before 'int'
   86 |     public int nextInt() {
      |           ^~~~
      |           :
a.cc:91:11: error: expected ':' before 'double'
   91 |     public double nextDouble() { return Double.parseDouble(next());}
      |           ^~~~~~~
      |           :
a.cc:92:2: error: expected ';' after class definition
   92 | }
      |  ^
      |  ;
a.cc: In member function 'int FastScanner::readByte()':
a.cc:49:34: error: 'hasNextByte' was not declared in this scope
   49 |     private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}
      |                                  ^~~~~~~~~~~
a.cc:49:56: error: 'buffer' was not declared in this scope; did you mean 'buflen'?
   49 |     private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}
      |                                                        ^~~~~~
      |                                                        buflen
a.cc: In member function 'long int FastScanner::nextLong()':
a.cc:63:14: error: 'hasNext' was not declared in this scope
   63 |         if (!hasNext()) throw new NoSuchElementException();
      |              ^~~~~~~
a.cc:63:35: error: expected type-specifier before 'NoSuchElementException'
   63 |         if (!hasNext()) throw new NoSuchElementException();
      |                                   ^~~~~~~~~~~~~~~~~~~~~~
a.cc:65:9: error: 'boolean' was not declared in this scope; did you mean 'bool'?
   65 |         boolean minus = false;
      |         ^~~~~~~
      |         bool
a.cc:68:13: error: 'minus' was not declared in this scope
   68 |             minus = true;
      |             ^~~~~
a.cc:72:23: error: expected type-specifier before 'NumberFormatException'
   72 |             throw new NumberFormatException();
      |                       ^~~~~~~~~~~~~~~~~~~~~
a.cc:78:34: error: 'isPrintableChar' was not declared in this scope
   78 |             }else if(b == -1 || !isPrintableChar(b)){
      |                                  ^~~~~~~~~~~~~~~
a.cc:79:24: error: 'minus' was not declared in this scope
   79 |                 return minus ? -n : n;
      |                        ^~~~~
a.cc:81:27: error: expected type-specifier before 'NumberFormatException'
   81 |                 throw new NumberFormatException();
      |                           ^~~~~~~~~~~~~~~~~~~~~
a.cc: In member function 'int FastScanner::nextInt()':
a.cc:88:18: error: 'Integer' was not declared in this scope
   88 |         if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();
      |                  ^~~~~~~
a.cc:88:73: error: expected type-specifier before 'NumberFormatException'
   88 |         if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~
a.cc: In member function 'double FastScanner::nextDouble()':
a.cc:91:41: error: 'Double' was not declared in this scope; did you mean 'double'?
   91 |     public double nextDouble() { return Double.parseDouble(next());}
      |                                         ^~~~~~
      |                                         double
a.cc:91:60: error: 'next' was not declared in this scope; did you mean 'nextInt'?
   91 |     public double nextDouble() { return Double.parseDouble(next());}
      |                                                            ^~~~
      |                                                            nextInt