import java.io.*;

public class Main {
    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
            String line = reader.readLine();
            String[] num = line.split(" ", -1);
            int a = Integer.parseInt(num[0]);
            int b = Integer.parseInt(num[1]);
            int c = Integer.parseInt(num[2]);
            if (a <= b && b <= c && a <= c) {
                int x = a;
                int y = b;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b && b >= c && a <= c) {
                int x = a;
                int y = c;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a <= c) {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            }
        } catch (IOException e) {
            System.out.println(e);
        } catch (NumberFormatException e) {
            System.out.println("error");
        }
    }
} import java.io.*; io.* java public class Main {
    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
            String line = reader.readLine();
            String[] num = line.split(" ", -1);
            int a = Integer.parseInt(num[0]);
            int b = Integer.parseInt(num[1]);
            int c = Integer.parseInt(num[2]);
            if (a <= b && b <= c && a <= c) {
                int x = a;
                int y = b;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b && b >= c && a <= c) {
                int x = a;
                int y = c;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a <= c) {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            }
        } catch (IOException e) {
            System.out.println(e);
        } catch (NumberFormatException e) {
            System.out.println("error");
        }
    }
} Main public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
            String line = reader.readLine();
            String[] num = line.split(" ", -1);
            int a = Integer.parseInt(num[0]);
            int b = Integer.parseInt(num[1]);
            int c = Integer.parseInt(num[2]);
            if (a <= b && b <= c && a <= c) {
                int x = a;
                int y = b;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b && b >= c && a <= c) {
                int x = a;
                int y = c;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a <= c) {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            }
        } catch (IOException e) {
            System.out.println(e);
        } catch (NumberFormatException e) {
            System.out.println("error");
        }
    } main {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
            String line = reader.readLine();
            String[] num = line.split(" ", -1);
            int a = Integer.parseInt(num[0]);
            int b = Integer.parseInt(num[1]);
            int c = Integer.parseInt(num[2]);
            if (a <= b && b <= c && a <= c) {
                int x = a;
                int y = b;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b && b >= c && a <= c) {
                int x = a;
                int y = c;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a <= c) {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            }
        } catch (IOException e) {
            System.out.println(e);
        } catch (NumberFormatException e) {
            System.out.println("error");
        }
    } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try {
            String line = reader.readLine();
            String[] num = line.split(" ", -1);
            int a = Integer.parseInt(num[0]);
            int b = Integer.parseInt(num[1]);
            int c = Integer.parseInt(num[2]);
            if (a <= b && b <= c && a <= c) {
                int x = a;
                int y = b;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b && b >= c && a <= c) {
                int x = a;
                int y = c;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a <= c) {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            }
        } catch (IOException e) {
            System.out.println(e);
        } catch (NumberFormatException e) {
            System.out.println("error");
        } catch (IOException e) {
            System.out.println(e);
        } IOException e {
            System.out.println(e);
        } System.out.println(e) System.out.println System.out System System.out e catch (NumberFormatException e) {
            System.out.println("error");
        } NumberFormatException e {
            System.out.println("error");
        } System.out.println("error") System.out.println System.out System System.out "error" {
            String line = reader.readLine();
            String[] num = line.split(" ", -1);
            int a = Integer.parseInt(num[0]);
            int b = Integer.parseInt(num[1]);
            int c = Integer.parseInt(num[2]);
            if (a <= b && b <= c && a <= c) {
                int x = a;
                int y = b;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b && b >= c && a <= c) {
                int x = a;
                int y = c;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a <= c) {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            }
        } String line = reader.readLine(); line reader.readLine() reader.readLine reader String[] num = line.split(" ", -1); num line.split(" ", -1) line.split line " " -1 1 int a = Integer.parseInt(num[0]); a Integer.parseInt(num[0]) Integer.parseInt Integer num[0] num 0 int b = Integer.parseInt(num[1]); b Integer.parseInt(num[1]) Integer.parseInt Integer num[1] num 1 int c = Integer.parseInt(num[2]); c Integer.parseInt(num[2]) Integer.parseInt Integer num[2] num 2 if (a <= b && b <= c && a <= c) {
                int x = a;
                int y = b;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b && b >= c && a <= c) {
                int x = a;
                int y = c;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a <= c) {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } a <= b && b <= c && a <= c a <= b && b <= c && a <= c a <= b a b b <= c b c a <= c a c {
                int x = a;
                int y = b;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } int x = a; x a int y = b; y b int z = c; z c System.out.println(x + " " + y + " "  + z) System.out.println System.out System System.out x + " " + y + " "  + z " " y x + " " + y + " "  + z x " " y " " z if (a <= b && b >= c && a <= c) {
                int x = a;
                int y = c;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a <= c) {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } a <= b && b >= c && a <= c a <= b && b >= c && a <= c a <= b a b b >= c b c a <= c a c {
                int x = a;
                int y = c;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } int x = a; x a int y = c; y c int z = b; z b System.out.println(x + " " + y + " "  + z) System.out.println System.out System System.out x + " " + y + " "  + z " " y x + " " + y + " "  + z x " " y " " z if (a >= b && b <= c && a <= c) {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } a >= b && b <= c && a <= c a >= b && b <= c && a <= c a >= b a b b <= c b c a <= c a c {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } int x = b; x b int y = a; y a int z = c; z c System.out.println(x + " " + y + " "  + z) System.out.println System.out System System.out x + " " + y + " "  + z " " y x + " " + y + " "  + z x " " y " " z if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } a <= b & b >= c && a >= c a <= b & b >= c a <= b a b b >= c b c a >= c a c {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } int x = c; x c int y = a; y a int z = b; z b System.out.println(x + " " + y + " "  + z) System.out.println System.out System System.out x + " " + y + " "  + z " " y x + " " + y + " "  + z x " " y " " z if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } a >= b && b <= c && a >= c a >= b && b <= c && a >= c a >= b a b b <= c b c a >= c a c {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } int x = b; x b int y = c; y c int z = a; z a System.out.println(x + " " + y + " "  + z) System.out.println System.out System System.out x + " " + y + " "  + z " " y x + " " + y + " "  + z x " " y " " z if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } a >= b && b >= c && a >= c a >= b && b >= c && a >= c a >= b a b b >= c b c a >= c a c {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } int x = c; x c int y = b; y b int z = a; z a System.out.println(x + " " + y + " "  + z) System.out.println System.out System System.out x + " " + y + " "  + z " " y x + " " + y + " "  + z x " " y " " z String[] args args public class Main {
    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
            String line = reader.readLine();
            String[] num = line.split(" ", -1);
            int a = Integer.parseInt(num[0]);
            int b = Integer.parseInt(num[1]);
            int c = Integer.parseInt(num[2]);
            if (a <= b && b <= c && a <= c) {
                int x = a;
                int y = b;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b && b >= c && a <= c) {
                int x = a;
                int y = c;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a <= c) {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            }
        } catch (IOException e) {
            System.out.println(e);
        } catch (NumberFormatException e) {
            System.out.println("error");
        }
    }
} public class Main {
    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
            String line = reader.readLine();
            String[] num = line.split(" ", -1);
            int a = Integer.parseInt(num[0]);
            int b = Integer.parseInt(num[1]);
            int c = Integer.parseInt(num[2]);
            if (a <= b && b <= c && a <= c) {
                int x = a;
                int y = b;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b && b >= c && a <= c) {
                int x = a;
                int y = c;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a <= c) {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            }
        } catch (IOException e) {
            System.out.println(e);
        } catch (NumberFormatException e) {
            System.out.println("error");
        }
    }
} Main
import java.io.*;

public class Main {
    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try {
            String line = reader.readLine();
            String[] num = line.split(" ", -1);
            int a = Integer.parseInt(num[0]);
            int b = Integer.parseInt(num[1]);
            int c = Integer.parseInt(num[2]);
            if (a <= b && b <= c && a <= c) {
                int x = a;
                int y = b;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b && b >= c && a <= c) {
                int x = a;
                int y = c;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a <= c) {
                int x = b;
                int y = a;
                int z = c;
                System.out.println(x + " " + y + " "  + z);
            } else if (a <= b & b >= c && a >= c) {
                int x = c;
                int y = a;
                int z = b;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b <= c && a >= c) {
                int x = b;
                int y = c;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            } else if (a >= b && b >= c && a >= c) {
                int x = c;
                int y = b;
                int z = a;
                System.out.println(x + " " + y + " "  + z);
            }
        } catch (IOException e) {
            System.out.println(e);
        } catch (NumberFormatException e) {
            System.out.println("error");
        }
    }
}