SP15498 KIMO4 - Kawigi quote
Description
Thursday 25/7/2013, a friend of mine ([Goodname](../../../users/hossameldeen/)) posted in our facebook group (Virtual Contests) a link of [Kawigi](http://community.topcoder.com/tc?module=MemberProfile&cr=8416646)'s topcoder profile.
He was amazed by Kawigi's quote as he tested it in [Ideone](http://ideone.com/MSrP0c) to find it printing "C++Sucks". We all were amazed by this quote.
But in a few minutes some other friend of mine ([Mosa](../../../users/mc_mosa/)) commented on the post with this [Ideone](http://ideone.com/AUPTQx). Wow! he got it, but the fact that he is kind of greedy, he didn't want to tell us the secret. Now we want to think like Mosa to be able to solve this problem.
Given a string your task is to find the values of m\[0\] and m\[1\] so that when we run this code we get the given string.
### Code
\#include
int primes \[\] = {2,3,5,7,11};
double m\[2\] = {8242465576917890.0 ,494};
int main() {
m\[1\]--?m\[0\]/=primes\[((int)m\[1\]+1)%5\],main():printf((char\*)m);
}
// this code prints the string "123".
### Input
The first line of the input file contains an integer T (T
Input Format
N/A
Output Format
N/A