
from ...configuration_utils import PretrainedConfig
from ...utils import logging


_lowercase											=    logging.get_logger(__name__)

_lowercase											=    {
    """unc-nlp/lxmert-base-uncased""": """https://huggingface.co/unc-nlp/lxmert-base-uncased/resolve/main/config.json""",
}


class 			lowercase_		(      A       ):
       __lowerCamelCase				       =						"lxmert"
       __lowerCamelCase				       =						{}


       def __init__(    self						,       __A=30_522						,       __A=768						,       __A=12						,       __A=9_500						,       __A=1_600						,       __A=400						,       __A=3_072						,       __A="gelu"						,       __A=0.1						,       __A=0.1						,       __A=512						,       __A=2						,       __A=0.02						,       __A=1e-1_2						,       __A=9						,       __A=5						,       __A=5						,       __A=2_048						,       __A=4						,       __A=6.67						,       __A=True						,       __A=True						,       __A=True						,       __A=True						,       __A=True						,       __A=True						,       __A=True						,       **__A						,       )						->    Dict:
              SCREAMING_SNAKE_CASE_							:				str		=vocab_size
              SCREAMING_SNAKE_CASE_							:				Union[str, Any]		=hidden_size
              SCREAMING_SNAKE_CASE_							:				List[str]		=num_attention_heads
              SCREAMING_SNAKE_CASE_							:				Tuple		=hidden_act
              SCREAMING_SNAKE_CASE_							:				Union[str, Any]		=intermediate_size
              SCREAMING_SNAKE_CASE_							:				Union[str, Any]		=hidden_dropout_prob
              SCREAMING_SNAKE_CASE_							:				Dict		=attention_probs_dropout_prob
              SCREAMING_SNAKE_CASE_							:				Optional[Any]		=max_position_embeddings
              SCREAMING_SNAKE_CASE_							:				Optional[Any]		=type_vocab_size
              SCREAMING_SNAKE_CASE_							:				str		=initializer_range
              SCREAMING_SNAKE_CASE_							:				List[Any]		=layer_norm_eps
              SCREAMING_SNAKE_CASE_							:				int		=num_qa_labels
              SCREAMING_SNAKE_CASE_							:				int		=num_object_labels
              SCREAMING_SNAKE_CASE_							:				List[str]		=num_attr_labels
              SCREAMING_SNAKE_CASE_							:				List[str]		=l_layers
              SCREAMING_SNAKE_CASE_							:				Optional[int]		=x_layers
              SCREAMING_SNAKE_CASE_							:				int		=r_layers
              SCREAMING_SNAKE_CASE_							:				Any		=visual_feat_dim
              SCREAMING_SNAKE_CASE_							:				Any		=visual_pos_dim
              SCREAMING_SNAKE_CASE_							:				List[Any]		=visual_loss_normalizer
              SCREAMING_SNAKE_CASE_							:				Optional[int]		=task_matched
              SCREAMING_SNAKE_CASE_							:				Optional[Any]		=task_mask_lm
              SCREAMING_SNAKE_CASE_							:				str		=task_obj_predict
              SCREAMING_SNAKE_CASE_							:				Dict		=task_qa
              SCREAMING_SNAKE_CASE_							:				Dict		=visual_obj_loss
              SCREAMING_SNAKE_CASE_							:				List[Any]		=visual_attr_loss
              SCREAMING_SNAKE_CASE_							:				int		=visual_feat_loss
              SCREAMING_SNAKE_CASE_							:				Tuple		={'''vision''': r_layers, '''cross_encoder''': x_layers, '''language''': l_layers}
              super().__init__(**__A				)


def 							SCREAMING_SNAKE_CASE_	(					UpperCAmelCase_	:     int = 1_0_0_0				)			->						int:
       SCREAMING_SNAKE_CASE_							:				int		=2**power
       SCREAMING_SNAKE_CASE_							:				Tuple		=0
       while n:
              SCREAMING_SNAKE_CASE_	,     SCREAMING_SNAKE_CASE_							:				Union[str, Any]		=r + n % 1_0, n // 1_0
       return r


if __name__ == "__main__":
 print(solution(int(str(input()).strip())))
