This documentation is automatically generated by online-judge-tools/verification-helper
# verification-helper: PROBLEM https://atcoder.jp/contests/abc170/tasks/abc170_d
import strutils, sequtils, tables, sets
import cplib/math/divisor
var _ = stdin.readLine.parseInt
var a = stdin.readLine.split.map parseInt
var cnt = a.toCountTable
var st = a.toHashSet
a = a.filterIt(cnt[it] <= 1)
echo a.countit(divisor(it, true)[0..<(^1)].allIt(not (it in st)))
Traceback (most recent call last):
File "/home/runner/.local/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py", line 71, in _render_source_code_stat
bundled_code = language.bundle(stat.path, basedir=basedir, options={'include_paths': [basedir]}).decode()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.local/lib/python3.12/site-packages/onlinejudge_verify/languages/nim.py", line 86, in bundle
raise NotImplementedError
NotImplementedError