A company had stock outstanding as follows during each of it…