include <iostream>
using namespace std;
int main() {
int m, n;
cout << "Введите m и n: ";
cin >> m >> n;
// Способ 1: цикл for
double product = 1;
for (int i = m; i <= n; i += 2) {
if (i % 3 == 0) {
product *= i;
}
}
cout << "Произведение всех нечетных чисел, кратных 3, от " << m << " до " << n << ": " << product << endl;