#include <iostream>
using namespace
std
;
int
main
()
{
int
a
,
b
;
cin
>>
b
;
if
(
b
==
a
)
cout
<<
a
;
return
0
;
}