{"problem":{"name":"Not Divisible","description":{"content":"Given is a number sequence $A$ of length $N$. Find the number of integers $i$ $\\left(1 \\leq i \\leq N\\right)$ with the following property: *   For every integer $j$ $\\left(1 \\leq j \\leq N\\right)$ such","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc170_d"},"statements":[{"statement_type":"Markdown","content":"Given is a number sequence $A$ of length $N$.\nFind the number of integers $i$ $\\left(1 \\leq i \\leq N\\right)$ with the following property:\n\n*   For every integer $j$ $\\left(1 \\leq j \\leq N\\right)$ such that $i \\neq j $ , $A_j$ does not divide $A_i$.\n\n## Constraints\n\n*   All values in input are integers.\n*   $1 \\leq N \\leq 2 \\times 10^5$\n*   $1 \\leq A_i \\leq 10^6$\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n$A_1$ $A_2$ $\\cdots$ $A_N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc170_d","tags":[],"sample_group":[["5\n24 11 8 3 16","3\n\nThe integers with the property are $2$, $3$, and $4$."],["4\n5 5 5 5","0\n\nNote that there can be multiple equal numbers."],["10\n33 18 45 28 8 19 89 86 2 4","5"]],"created_at":"2026-03-03 11:01:14"}}