#include <bits/stdc++.h>
#include<unordered_set>
#define el "\n"
#define ll long long
using namespace std;
#define yes cout<<"YES\n";
#define no cout<<"NO\n";
#define all(v) v.begin(), v.end()
#define rall(a) a.rbegin() , a.rend()
#define sz(a) a.size()
const ll N = 1e7 + 5, MOD = 1e9 + 7;
void ELMOO() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
}
bool isPalindrome(ll x) { // function Palindrome
string s = to_string(x);
string r = s;
reverse(all(r));
return s == r;
}
//-------------------------------------------------------------------------------------------
// o(sqrt(n)) ---> max_n = 10^12 ~ 10^15 --- Function to find the number is prime or not
bool is_Prime(ll n) {
if (n < 2)return 0;
for (ll i = 2; i <= n/i; i++)
{
if (n % i == 0)return 0;
}
return 1;
}
//-------------------------------------------------------------------------------------------
// O(sqrt(n)) ---> max_n = 10^12 ~ 10^15 --- Function to find all divisors of a number
vector<ll> factorize(ll n) {
vector<ll> divisors;
for (ll i = 1; i <= n / i; i++)
{
if(n%i==0) {
divisors.push_back(i);
if(i*i != n) {
divisors.push_back(n/i);
}
}
}
return divisors;
}
//---------------------------------------------------------------------------------------------
// O(sqrt(n)) ---> max_n = 10^12 ~ 10^15 --- Function to find all prime factors of a number
vector<ll>Prime_Factorize(ll n) {
vector<ll> primes;
for (ll i = 2; i <= n / i; i++)
{
while (n % i == 0) {
primes.push_back(i);
n /= i;
}
}
if (n > 1)primes.push_back(n);// لو عدد اكبر من الجذر التربيعي يبقى هو نفسه عدد اولي
return primes;
}
//---------------------------------------------------------------------------------------------
// O(n log log n) --- max_n = 10^7 --- Function to find all prime numbers up to n
vector<bool> is_prime(N, 1);
void sieve() {
is_prime[0] = is_prime[1] = 0;
for (ll i = 2;i <= N / i;i++) {
if (is_prime[i] ) {
for (ll j = i * i;j <= N;j += i) {
is_prime[j] = 0;
}
}
}
}
//---------------------------------------------------------------------------------------------
// O(n log n) --- max_n = 10^5 --- Function to find the number of divisors for each number up to n
vector<ll>nm_of_dv(N);
void sieve_of_divisors() {
for (ll i = 1;i <= N;i++) {
for (ll j = i;j < N;j += i) {
nm_of_dv[j]++;
}
}
}
//---------------------------------------------------------------------------------------------
// O(n log n) --- max_n = 10^7 --- Function to find the smallest prime factor for each number up to n
vector<int>sp(N+1);
void spf() {
for (int i = 0; i <= N; i++)sp[i] = i;
for (int i = 2;i <= N / i;i++) {
if (sp[i] == i) {
for (int j = i * i;j <= N;j += i) {
if (sp[j] == j)sp[j] = i;
//sp[j] = min(sp[j], i);
}
}
}
}
//---------------------------------------------------------------------------------------------
// O(log n) --- max_n = 10^12 ~ 10^15 --- Function to find the GCD of two numbers
ll GCD(ll a, ll b) {
if (b > a)swap(a, b);
if (!b)return a;
return GCD(b, a % b);
}
//---------------------------------------------------------------------------------------------
// O(log n) --- max_n = 10^12 ~ 10^15 --- Function to find the LCM of two numbers
ll LCM(ll a, ll b) {
return (a / GCD(a, b)) * b;
}
//---------------------------------------------------------------------------------------------
// O(log n) --- max_n = 10^12 ~ 10^15 --- Function to find the sum of two numbers under modulo
ll Mod_add(ll a, ll b) {
return ((a % MOD) + (b % MOD)) % MOD;
}
//---------------------------------------------------------------------------------------------
// O(log n) --- max_n = 10^12 ~ 10^15 --- Function to find the difference of two numbers under modulo
ll Mod_sub(ll a, ll b) {
return ((a % MOD) - (b % MOD) + MOD) % MOD;
}
//---------------------------------------------------------------------------------------------
// O(log n) --- max_n = 10^12 ~ 10^15 --- Function to find the product of two numbers under modulo
ll Mod_mul(ll a, ll b) {
return ((a % MOD) * (b % MOD)) % MOD;
}
//---------------------------------------------------------------------------------------------
// O(log n) --- max_n = 10^12 ~ 10^15 --- recursive function to calculate (n^pow) % MOD
ll Fast_power_Mod(ll n, ll pow) {
if (pow == 0)return 1; // base case
ll val = Fast_power_Mod(n, pow / 2);
ll res = val * val % MOD;
if (pow % 2 != 0) {
res *= n;
res %= MOD;
}
return res;
}
//----------------------------------------------------------------------------------------------
// O(log n) --- max_n = 10^12 ~ 10^15 --- Function to convert a number to a different base
vector<int>Convert(ll n, ll base) {
vector<int>digits;
while (n) {
digits.push_back(n % base);
n /= base;
}
reverse(all(digits));
return digits;
}
//----------------------------------------------------------------------------------------------
ll clearBit(ll n, ll idx) {
return (n & (~(1LL << idx)));
}
//----------------------------------------------------------------------------------------------
ll setBit(ll n, ll idx) {
return (n | (1LL << idx));
}
//----------------------------------------------------------------------------------------------
ll toggleBit(ll n, ll idx) {
return (n ^ (1LL << idx));
}
//----------------------------------------------------------------------------------------------
bool is_odd(ll n) {
return (n & 1);
}
//----------------------------------------------------------------------------------------------
bool knowBit(ll n,ll idx) {
return ((n>>idx)&1);
}
//----------------------------------------------------------------------------------------------
int count_ones(ll x)
{
int cnt = 0;
while (x)
{
x &= (x - 1);
cnt++;
}
return cnt;
}
//--------------------------------------------------------------------------
bool isPowerof22(ll n) { // مش هتشتغل هنا هنعمل فانكشن غيرها
return (__builtin_popcountll(n) == 1); // count 1 bits use fun popcount me
}
bool isPowerof2(ll n)
{
return n > 0 && (n & (n - 1)) == 0;
}
void solve() {
// sieve_of_divisors();
cout << LCM(36, 40);
}
int main() {
ELMOO();
ll t = 1;
// cin >> t;
while (t--) {
solve();
}
return 0;
}