#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# self . index = 0 #NEWLINE# if ( 'step' in kwargs ) : #NEWLINE# #INDENT# self . step = kwargs [ 'step' ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . step = 2 #NEWLINE# #UNINDENT# args = list ( args ) #NEWLINE# args = sorted ( set ( args ) , key = ( lambda x : args . count ( x ) ) ) #NEWLINE# super ( FrequencyBasedDogeDeque , self ) . __init__ ( kwargs )