Rosetta Problems

Find the Point

https://onlinejudge.u-aizu.ac.jp/problems/2167