using System;
namespace restless
{
class Program
{
static void Main(string[] args)
{
int N;
bool _isBin = true;
N = Convert.ToInt32(Console.ReadLine());
N = Math.Abs(N);
while (N > 0)
{
if (N % 10 != 0 && N % 10 != 1)
{
_isBin = false;
break;
}
N /= 10;
}
Console.WriteLine(_isBin);
}
}
}
1)Истина 2)Истина 3)ложь 4)истина 5)истина
Объяснение: