Where does “ти́сяч” come from?

Words derived from “ти́сяч