import java.util.*;
class Main
{
    public static void main(String args[])
    {
        Scanner sc=new Scanner(System.in);
        int a,b,c;
        a=sc.nextInt();
        b=sc.nextInt();
        c=sc.nextInt();
        a=a+b;
        b=a-b;
        a=a-b;
        a=a+c;
        c=a-c;
        a=a-c;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
    }}
         import java.util.*; util.* java class Main
{
    public static void main(String args[])
    {
        Scanner sc=new Scanner(System.in);
        int a,b,c;
        a=sc.nextInt();
        b=sc.nextInt();
        c=sc.nextInt();
        a=a+b;
        b=a-b;
        a=a-b;
        a=a+c;
        c=a-c;
        a=a-c;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
    }} Main public static void main(String args[])
    {
        Scanner sc=new Scanner(System.in);
        int a,b,c;
        a=sc.nextInt();
        b=sc.nextInt();
        c=sc.nextInt();
        a=a+b;
        b=a-b;
        a=a-b;
        a=a+c;
        c=a-c;
        a=a-c;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
    } main {
        Scanner sc=new Scanner(System.in);
        int a,b,c;
        a=sc.nextInt();
        b=sc.nextInt();
        c=sc.nextInt();
        a=a+b;
        b=a-b;
        a=a-b;
        a=a+c;
        c=a-c;
        a=a-c;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a a b b c; c a=sc.nextInt() a sc.nextInt() sc.nextInt sc b=sc.nextInt() b sc.nextInt() sc.nextInt sc c=sc.nextInt() c sc.nextInt() sc.nextInt sc a=a+b a a+b a b b=a-b b a-b a b a=a-b a a-b a b a=a+c a a+c a c c=a-c c a-c a c a=a-c a a-c a c System.out.println(a) System.out.println System.out System System.out a System.out.println(b) System.out.println System.out System System.out b System.out.println(c) System.out.println System.out System System.out c String args[] args
import java.util.*;
class Main
{
    public static void main(String args[])
    {
        Scanner sc=new Scanner(System.in);
        int a,b,c;
        a=sc.nextInt();
        b=sc.nextInt();
        c=sc.nextInt();
        a=a+b;
        b=a-b;
        a=a-b;
        a=a+c;
        c=a-c;
        a=a-c;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
    }}
        