<s> import sys , time <EOL> def ref ( N , start ) : <EOL> start ( ) <EOL> i = <NUM_LIT:0> <EOL> while i < N : <EOL> i += <NUM_LIT:1> <EOL> def run ( func , n ) : <EOL> n *= int ( sys . argv [ <NUM_LIT:1> ] ) <EOL> st = [ None ] <EOL> t = time . time <EOL> def start ( ) : <EOL> st [ <NUM_LIT:0> ] = t ( ) <EOL> ref ( n , start ) <EOL> elapsed_ref1 = t ( ) - st [ <NUM_LIT:0> ] <EOL> ref ( n , start ) <EOL> elapsed_ref2 = t ( ) - st [ <NUM_LIT:0> ] <EOL> ref ( n , start ) <EOL> elapsed_ref3 = t ( ) - st [ <NUM_LIT:0> ] <EOL> elapsed_ref = min ( elapsed_ref1 , elapsed_ref2 , elapsed_ref3 ) <EOL> func ( n , start ) <EOL> elapsed1 = t ( ) - st [ <NUM_LIT:0> ] <EOL> func ( n , start ) <EOL> elapsed2 = t ( ) - st [ <NUM_LIT:0> ] <EOL> func ( n , start ) <EOL> elapsed3 = t ( ) - st [ <NUM_LIT:0> ] <EOL> elapsed = min ( elapsed1 , elapsed2 , elapsed3 ) <EOL> print sys . argv [ <NUM_LIT:0> ] . replace ( '<STR_LIT>' , '<STR_LIT>' ) , elapsed - elapsed_ref </s>
