import java.util.*;
import java.lang.*;
import java.io.*;
class Main
{
public static void main
(String[] args
) {
Scanner sc
= new Scanner
(System.
in ); long a = sc.nextInt();
long b = sc.nextInt();
if(b
!= 0) System.
out.
print(a
/b
); else System.
out.
print("ERROR"); }
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CiAKY2xhc3MgTWFpbgp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgCgl7CgkJU2Nhbm5lciBzYyA9IG5ldyBTY2FubmVyKFN5c3RlbS4gaW4gKTsKICAgICAgICBsb25nIGEgPSBzYy5uZXh0SW50KCk7IAogICAgICAgIGxvbmcgYiA9IHNjLm5leHRJbnQoKTsgCiAgICAgICAgaWYoYiAhPSAwKSBTeXN0ZW0ub3V0LnByaW50KGEvYik7CiAgICAgICAgZWxzZSBTeXN0ZW0ub3V0LnByaW50KCJFUlJPUiIpOwoJfQp9