HP is doing research in mathematics . After doing lots of research, she struck in a problem . She found four numbers n,a, b and c .Now, She wants to know how many number exists which are less than or equal to n and are divisible by a ,b or c .
4 integers denoting
n,a,b and c separated by space
intger which denotes the count of the numbers which are divisible
This is code-golf, shortest code in bytes wins.