<?php
function binstrTDD $BinaryString$Separator ' ' )
{
    
settype $BinaryString'string' ) ;
    
$BinArr explode $Separator$BinaryString ) ;
    for ( 
$int $int count $BinArr ) ; $int ++ )
    {
        
settype $BinArr[$int], 'string' ) ;
        for ( 
$i $i strlen $BinArr[$int] ) ; $i ++ )
        {
            if ( 
$BinArr[$int]{$i} == '1' )
            {
                
$Ret += pow 2strlen $BinArr[$int] ) - ( $i ) ) ;
            }
        }
        
$Return .= chr $Ret ) ;
        unset ( 
$Ret ) ;
    }
    return 
$Return ;
}
function 
strbinTDD $String$Separator ' ' )
{
    if ( 
strlen $String ) > )
    {
        
$Ret '' ;
        for ( 
$i $i strlen $String ) ; $i ++ )
        {
            
$Ret .= $Separator strbinTDD $String{$i} ) ;
        }
        return 
substr $Retstrlen $Separator ) ) ;
    }
    
$Dec ord $String ) ;
    if ( 
$String == ' ' )
    {
        return 
'00100000' ;
    }
    
$i ;
    while ( ! ( 
$Dec <= pow 2, ( $i ) ) ) )
    {
        
$i ++ ;
    }
    if ( ! 
$i )
    {
        return 
false ;
    }
    for ( 
$a $i $a >= $a -- )
    {
        if ( 
$Dec >= pow 2$a ) )
        {
            
$Dec -= pow 2$a ) ;
            
$Ret .= '1' ;
        }
        else
        {
            
$Ret .= '0' ;
        }
    }
    while ( 
strlen $Ret ) < )
    {
        
$Ret "0{$Ret}" ;
    }
    return 
$Ret ;
}
function 
toBaseN $Decimal$ns_charlist '=/0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' )
{
    
$r $Decimal strlen $ns_charlist ) ;
    if ( 
$Decimal $r == )
    {
        
$result $ns_charlist{$r} ;
    }
    else
    {
        
$result toBaseN ( ( $Decimal $r ) / strlen $ns_charlist ), $ns_charlist ) . $ns_charlist{$r} ;
    }
    return 
$result ;
}
function 
binary_root $b )
{
    
$b decbin $b ) ;
    
settype $b'string' ) ;
    for ( 
$i $i strlen $b ) ; $i ++ )
    {
        
$Ret += $b{$i} ;
    }
    return 
$Ret ;
}
function 
factorial $Number )
{
    if ( ! 
intval $Number ) )
    {
        return 
false ;
    }
    
$Ret ;
    for ( 
$i intval $Number ) ; $i $i -- )
    {
        
$Ret *= $i ;
    }
    return 
$Ret ;
}
function 
calc_e $CalcTimes 200 )
{
    for ( 
$i $i $CalcTimes $i ++ )
    {
        
$Ret += ( factorial $i ) ) ;
    }
    return 
$Ret ;
}
function 
randomizeMe $String$Key '*'$ArrayStr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyz' )
{
    
$Array preg_split '//'$ArrayStr ) ;
    for ( 
$i $i strlen $String ) ; $i ++ )
    {
        if ( 
$String{$i} == $Key )
        {
            
$ThisTime $Array[( rand ( ) % count $Array ) )] ;
            
$ThisTime = ( $ThisTime ) ? $ThisTime substr $ArrayStr, -) ;
            
$String{$i} = $ThisTime ;
        }
    }
    return 
$String ;
}
function 
is_prime_number $Number )
{
    for ( 
$i $i $Number $i ++ )
    {
        if ( ! ( 
$Number $i ) )
        {
            return 
false ;
        }
    }
    return 
true ;
}
function 
find_nth_prime $n )
{
    if ( 
gettype $n ) != 'int' )
    {
        
settype $n'int' ) ;
    }
    
$Primes ;
    
$i ;
    while ( 
$Primes $n )
    {
        if ( 
is_prime_number $i ) )
        {
            
$Ans $i ;
            
$Primes ++ ;
        }
        
$i ++ ;
    }
    return 
$Ans ;
}
print(
randomizeMe($argv[1]));
?>