import java.util.Scanner object No46 extends App { val sc = new Scanner(System.in) val a = sc.nextInt() val b = sc.nextInt() val c = b + (a - 1) / a println(c) }