//Title of this code
//Rextester.Program.Main is the entry point for your code. Don't change it.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Rextester
{
public class Program
public static void Main(string[] args)
int x = 1;
int y = 1;
int i;
for (i = 1; i < 100; i++) {
x = 1 << i;
if ((long)x <= (long)y)
break;
y = x;
}
Console.WriteLine(i);
Console.WriteLine(x);
Console.WriteLine(int.MinValue);
Console.WriteLine(y);
Console.WriteLine(int.MaxValue);