#include <bits/stdc++.h> using namespace std; int main() { // your code goes here int n,r;cin>>n>>r; for(int i=1;i<=r;i++){ printf("%d * %d = %d",n,i,n*i); cout<<endl; } return 0; }
5 17
5 * 1 = 5 5 * 2 = 10 5 * 3 = 15 5 * 4 = 20 5 * 5 = 25 5 * 6 = 30 5 * 7 = 35 5 * 8 = 40 5 * 9 = 45 5 * 10 = 50 5 * 11 = 55 5 * 12 = 60 5 * 13 = 65 5 * 14 = 70 5 * 15 = 75 5 * 16 = 80 5 * 17 = 85