using System;
class MainClass
{
public static string Decode(string a)
{
string newString = a.Replace(".", string.Empty);
try{
int number = Int32.Parse(newString);
if(number < 1025) return number.ToString();
else return (number%1024).ToString();
}catch(Exception e){
//Console.WriteLine("{0} Exception caught.", e);
return "Error";
}
}
public static void Main()
{
Console.WriteLine(Decode(""));
}
}
using System;
namespace AngryBirds
{
public static class AngryBirdsTask
{
public static double FindSightAngle(double v, double distance)
{
return Math.PI / 4;
}
}
}