Rating:
Use binary search to recover input to `sin()` and then some modular arithmetic to get back the integer.
I don't remember