import java.util.*;
public class DivideUsingSubstraction {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
System.out.println("Enter the dividend");
int a = sc.nextInt();
System.out.println("Enter the divisor");
int b = sc.nextInt();
int count = 0;
while (a >= b) {
a = a - b;
count++;
}
System.out.println("Answer is " + count);
}
}