#!/usr/bin/env python3
# Read two command-line argument to variables called a and b
# Convert both to integers
# Make a loop that goes from 1 to a (including a)
# Inside the loop check to see if the current value % b == 0.
# If it is print the number
# The program should be ran like:
# ./loopy.py 25 3
# Assume we have good input
import sys
if len(sys.argv) < 3:
print('You must specify 2 numbers')
exit()
a = int(sys.argv[1])
b = int(sys.argv[2])
for i in range(1, a+1):
if i % b == 0:
print(i)