Language: C++

//--- pA ---//
import java.util.*;
import java.lang.*;
import java.io.*;
public class Main {
	public static void main (String[] args) throws java.lang.Exception {
		new Solution();
	}
}
class Solution {
	Reader reader;
	public Solution () {
		reader = new Reader();
		while (reader.hasNext()) {
			run_case();
		}
	}

	private void run_case() {
		int a = reader.ni();
		int b = reader.ni();
		int c = reader.ni();

		int t = a;
		a = b;
		b = t;

		t = a;
		a = c;
		c = t;

		System.out.println(a + " " + b + " " + c);
		return;
	}
}


class Reader {
	BufferedReader br;
	StringTokenizer st;
	public Reader(){
		try {
			br = new BufferedReader(new InputStreamReader(System.in));
			st = new StringTokenizer(br.readLine());
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	public String next() {
		if (st.hasMoreTokens()) return st.nextToken();
		try {
			st = new StringTokenizer(br.readLine());
		} catch (Exception e) {
			e.printStackTrace();
		}
		return st.nextToken();
	}
	public boolean hasNext() {
		try {
			if (!st.hasMoreTokens() && !br.ready()) return false;
			else return true;
		} catch (Exception e) {
			e.printStackTrace();
		}
		return false;
	}
	public int ni() {return Integer.parseInt(this.next());}
	public String ns() {return this.next();}
}


Compiler output:
a.cc:2:1: error: 'import' does not name a type
    2 | import java.util.*;
      | ^~~~~~
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.lang.*;
      | ^~~~~~
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.*;
      | ^~~~~~
a.cc:4:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:5:1: error: expected unqualified-id before 'public'
    5 | public class Main {
      | ^~~~~~
a.cc:11:9: error: 'Reader' does not name a type
   11 |         Reader reader;
      |         ^~~~~~
a.cc:12:15: error: expected ':' before 'Solution'
   12 |         public Solution () {
      |               ^~~~~~~~~
      |               :
a.cc:19:16: error: expected ':' before 'void'
   19 |         private void run_case() {
      |                ^~~~~
      |                :
a.cc:35:2: error: expected ';' after class definition
   35 | }
      |  ^
      |  ;
a.cc: In constructor 'Solution::Solution()':
a.cc:13:17: error: 'reader' was not declared in this scope
   13 |                 reader = new Reader();
      |                 ^~~~~~
a.cc:13:30: error: expected type-specifier before 'Reader'
   13 |                 reader = new Reader();
      |                              ^~~~~~
a.cc: In member function 'void Solution::run_case()':
a.cc:20:25: error: 'reader' was not declared in this scope
   20 |                 int a = reader.ni();
      |                         ^~~~~~
a.cc:32:17: error: 'System' was not declared in this scope
   32 |                 System.out.println(a + " " + b + " " + c);
      |                 ^~~~~~
a.cc:32:48: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
   32 |                 System.out.println(a + " " + b + " " + c);
      |                                    ~~~~~~~~~~~ ^ ~~~
      |                                            |     |
      |                                            |     const char [2]
      |                                            const char*
a.cc: At global scope:
a.cc:39:9: error: 'BufferedReader' does not name a type
   39 |         BufferedReader br;
      |         ^~~~~~~~~~~~~~
a.cc:40:9: error: 'StringTokenizer' does not name a type
   40 |         StringTokenizer st;
      |         ^~~~~~~~~~~~~~~
a.cc:41:15: error: expected ':' before 'Reader'
   41 |         public Reader(){
      |               ^~~~~~~
      |               :
a.cc:49:15: error: expected ':' before 'String'
   49 |         public String next() {
      |               ^~~~~~~
      |               :
a.cc:49:16: error: 'String' does not name a type
   49 |         public String next() {
      |                ^~~~~~
a.cc:58:15: error: expected ':' before 'boolean'
   58 |         public boolean hasNext() {
      |               ^~~~~~~~
      |               :
a.cc:58:16: error: 'boolean' does not name a type; did you mean 'bool'?
   58 |         public boolean hasNext() {
      |                ^~~~~~~
      |                bool
a.cc:67:15: error: expected ':' before 'int'
   67 |         public int ni() {return Integer.parseInt(this.next());}
      |               ^~~~
      |               :
a.cc:68:15: error: expected ':' before 'String'
   68 |         public String ns() {return this.next();}
      |               ^~~~~~~
      |               :
a.cc:68:16: error: 'String' does not name a type
   68 |         public String ns() {return this.next();}
      |                ^~~~~~
a.cc:69:2: error: expected ';' after class definition
   69 | }
      |  ^
      |  ;
a.cc: In constructor 'Reader::Reader()':
a.cc:43:25: error: 'br' was not declared in this scope
   43 |                         br = new BufferedReader(new InputStreamReader(System.in));
      |                         ^~
a.cc:43:34: error: expected type-specifier before 'BufferedReader'
   43 |                         br = new BufferedReader(new InputStreamReader(System.in));
      |                                  ^~~~~~~~~~~~~~
a.cc:44:25: error: 'st' was not declared in this scope; did you mean 'std'?
   44 |                         st = new StringTokenizer(br.readLine());
      |                         ^~
      |                         std
a.cc:44:34: error: expected type-specifier before 'StringTokenizer'
   44 |                         st = new StringTokenizer(br.readLine());
      |                                  ^~~~~~~~~~~~~~~
a.cc:45:26: error: 'Exception' does not name a type
   45 |                 } catch (Exception e) {
      |                          ^~~~~~~~~
a.cc:46:25: error: 'e' was not declared in this scope
   46 |                         e.printStackTrace();
      |                         ^
a.cc: In member function 'int Reader::ni()':
a.cc:67:33: error: 'Integer' was not declared in this scope
   67 |         public int ni() {return Integer.parseInt(this.next());}
      |                                 ^~~~~~~
a.cc:67:55: error: request for member 'next' in '(Reader*)this', which is of pointer type 'Reader*' (maybe you meant to use '->' ?)
   67 |         public int ni() {return Integer.parseInt(this.next());}
      |                                                       ^~~~