Language: C++

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

import java.util.*;

public class Main{
  static final boolean DEBUG = true;

  public static void main(String[] args){
    FastScanner sc = new FastScanner();

    String s = sc.next();

    boolean all = true;
    for(char ch = 'a'; ch <= 'c'; ch++){
      boolean exist = false;
      for(int j = 0; j < 3; j++){
        if(ch == s.charAt(j)){
          exist = true;
          break;
        }
      }
      if(!exist){
        all = false;
        break;
      }
    }

    if(all) System.out.println("Yes");
    else System.out.println("No");
  }
}

class FastScanner {
  private static final InputStream in = System.in;
  private static final PrintWriter out = new PrintWriter(System.out);
  private final byte[] buffer = new byte[2048];
  private int p = 0;
  private int buflen = 0;

  public FastScanner(){
  }

  private boolean hasNextByte() {
    if(p < buflen){
      return true;
    }
    p = 0;
    try{
      buflen = in.read(buffer);
    }catch (IOException e) {
      e.printStackTrace();
    }
    if(buflen <= 0){
      return false;
    }
    return true;
  }

  public boolean hasNext() {
    while(hasNextByte() && !isPrint(buffer[p])){
      p++;
    }
    return hasNextByte();
  }

  private boolean isPrint(int ch) {
    if(ch >= '!' && ch <= '~'){
      return true;
    }
    return false;
  }

  private int nextByte() {
    if(!hasNextByte()){
      return -1;
    }
    return buffer[p++];
  }

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

  public int nextInt() {
    return Integer.parseInt(next());
  }

  public long nextLong() {
    return Long.parseLong(next());
  }

  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: 'import' does not name a type
    6 | import java.util.*;
      | ^~~~~~
a.cc:6:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:8:1: error: expected unqualified-id before 'public'
    8 | public class Main{
      | ^~~~~~
a.cc:37:10: error: expected ':' before 'static'
   37 |   private static final InputStream in = System.in;
      |          ^~~~~~~
      |          :
a.cc:37:18: error: 'final' does not name a type
   37 |   private static final InputStream in = System.in;
      |                  ^~~~~
a.cc:38:10: error: expected ':' before 'static'
   38 |   private static final PrintWriter out = new PrintWriter(System.out);
      |          ^~~~~~~
      |          :
a.cc:38:18: error: 'final' does not name a type
   38 |   private static final PrintWriter out = new PrintWriter(System.out);
      |                  ^~~~~
a.cc:39:10: error: expected ':' before 'final'
   39 |   private final byte[] buffer = new byte[2048];
      |          ^~~~~~
      |          :
a.cc:39:11: error: 'final' does not name a type
   39 |   private final byte[] buffer = new byte[2048];
      |           ^~~~~
a.cc:40:10: error: expected ':' before 'int'
   40 |   private int p = 0;
      |          ^~~~
      |          :
a.cc:41:10: error: expected ':' before 'int'
   41 |   private int buflen = 0;
      |          ^~~~
      |          :
a.cc:43:9: error: expected ':' before 'FastScanner'
   43 |   public FastScanner(){
      |         ^~~~~~~~~~~~
      |         :
a.cc:46:10: error: expected ':' before 'boolean'
   46 |   private boolean hasNextByte() {
      |          ^~~~~~~~
      |          :
a.cc:46:11: error: 'boolean' does not name a type; did you mean 'bool'?
   46 |   private boolean hasNextByte() {
      |           ^~~~~~~
      |           bool
a.cc:62:9: error: expected ':' before 'boolean'
   62 |   public boolean hasNext() {
      |         ^~~~~~~~
      |         :
a.cc:62:10: error: 'boolean' does not name a type; did you mean 'bool'?
   62 |   public boolean hasNext() {
      |          ^~~~~~~
      |          bool
a.cc:69:10: error: expected ':' before 'boolean'
   69 |   private boolean isPrint(int ch) {
      |          ^~~~~~~~
      |          :
a.cc:69:11: error: 'boolean' does not name a type; did you mean 'bool'?
   69 |   private boolean isPrint(int ch) {
      |           ^~~~~~~
      |           bool
a.cc:76:10: error: expected ':' before 'int'
   76 |   private int nextByte() {
      |          ^~~~
      |          :
a.cc:83:9: error: expected ':' before 'String'
   83 |   public String next() {
      |         ^~~~~~~
      |         :
a.cc:83:10: error: 'String' does not name a type
   83 |   public String next() {
      |          ^~~~~~
a.cc:95:9: error: expected ':' before 'int'
   95 |   public int nextInt() {
      |         ^~~~
      |         :
a.cc:99:9: error: expected ':' before 'long'
   99 |   public long nextLong() {
      |         ^~~~~
      |         :
a.cc:103:9: error: expected ':' before 'double'
  103 |   public double nextDouble() {
      |         ^~~~~~~
      |         :
a.cc:106:2: error: expected ';' after class definition
  106 | }
      |  ^
      |  ;
a.cc: In member function 'int FastScanner::nextByte()':
a.cc:77:9: error: 'hasNextByte' was not declared in this scope; did you mean 'nextByte'?
   77 |     if(!hasNextByte()){
      |         ^~~~~~~~~~~
      |         nextByte
a.cc:80:12: error: 'buffer' was not declared in this scope; did you mean 'buflen'?
   80 |     return buffer[p++];
      |            ^~~~~~
      |            buflen
a.cc: In member function 'int FastScanner::nextInt()':
a.cc:96:12: error: 'Integer' was not declared in this scope
   96 |     return Integer.parseInt(next());
      |            ^~~~~~~
a.cc:96:29: error: 'next' was not declared in this scope; did you mean 'nextInt'?
   96 |     return Integer.parseInt(next());
      |                             ^~~~
      |                             nextInt
a.cc: In member function 'long int FastScanner::nextLong()':
a.cc:100:12: error: 'Long' was not declared in this scope; did you mean 'long'?
  100 |     return Long.parseLong(next());
      |            ^~~~
      |            long
a.cc:100:27: error: 'next' was not declared in this scope; did you mean 'nextInt'?
  100 |     return Long.parseLong(next());
      |                           ^~~~
      |                           nextInt
a.cc: In member function 'double FastScanner::nextDouble()':
a.cc:104:12: error: 'Double' was not declared in this scope; did you mean 'double'?
  104 |     return Double.parseDouble(next());
      |            ^~~~~~
      |            double
a.cc:104:31: error: 'next' was not declared in this scope; did you mean 'nextInt'?
  104 |     return Double.parseDouble(next());
      |                               ^~~~
      |                               nextInt