using System;
public class Program
{
public static void Main()
// In one line
int xor1 = 10 ^ 25 ^ 40;
// In separate lines
int xor2 = 10 ^ 25;
xor2 ^= 40;
Console.WriteLine(xor1);
Console.WriteLine(xor2);
}