implememt * - / wiht +
kth number represented by factor 3, 5, 7
print last k lines in file
virtual function