#include <iostream>
#include <numeric> // For std::lcm (C++17 and above)
int main() {
int a = 13, b = 15, c = 17;
// Calculate LCM of three numbers
int lcm_ab = std::lcm(a, b); // LCM of 13 and 15
int lcm_abc = std::lcm(lcm_ab, c); // LCM of (13, 15) and 17
std::cout << "The smallest number that divides 13, 15, and 17 is: " << lcm_abc << std::endl;
}
/*
run:
The smallest number that divides 13, 15, and 17 is: 3315
*/