$/=get.words;(get~~say [.contains($0)||$_%%$0])xx$1