$t=<>;push@f,1,1;for(2..46){push@f,$f[$_-1]+$f[$_-2]}while($t--){$n=<>;say$f[$n+5]*11+$f[$n+5]%10}
2 1 35
===SORRY!=== Unsupported use of <>; in Perl 6 please use lines() or () at line 1, near "<>;push@f,"
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!