((^`n(#0=dotimes,n(#0#'n`(if(=(gcd(+ . ,1)(+ . '1))1)"t"" "))`" "))display(read))