//aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa using System; class Start{ static void Main(){ long a,b;Lin(out a,out b); Console.WriteLine((b+a-1)/a); } static void Lin(out T a){ if(typeof(T)==typeof(long))a=(T)(object)long.Parse(Console.ReadLine()); else if(typeof(T)==typeof(string))a=(T)(object)Console.ReadLine(); else if(typeof(T)==typeof(char))a=(T)(object)Console.ReadLine()[0]; else a=(T)(object)double.Parse(Console.ReadLine()); } static void Lin(out T a,out U b){ var c=Console.ReadLine().Split(); if(typeof(T)==typeof(long))a=(T)(object)long.Parse(c[0]); else if(typeof(T)==typeof(string))a=(T)(object)c[0]; else if(typeof(T)==typeof(char))a=(T)(object)c[0][0]; else a=(T)(object)double.Parse(c[0]); if(typeof(U)==typeof(long))b=(U)(object)long.Parse(c[1]); else if(typeof(U)==typeof(string))b=(U)(object)c[1]; else if(typeof(U)==typeof(char))b=(U)(object)c[1][0]; else b=(U)(object)double.Parse(c[1]); } static void Swap(ref T a,ref T b){T c=a;a=b;b=c;} }