accidentally deleted Mac OS on iMac from 2012
I was given a iMac from 2012 but they needed to delete all files off it while they were doing that they accident deleted the Macos as well because its high Sierra it says the installer resource has expired so I though lets install windows on the iMac but I'm not sure how to do that without the os is there anyway I can get the installer ( i have looked for a long time) or is there a way I can just install windows on it (Windows preferred option if available)