Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Recently one of my friends found a trivial solution:
$$Z_t = \frac{X}{P[X>t]}$$