The answer is "Yes" if you meant those amounts to be all in the same currency.
----- ----- -----
When you buy shares of stock, you are then one of the owners of that company. As part owner, the company’s land, buildings, machinery, inventory, debts and earnings belong to you.
If you have chosen a quality company that steadily earns money each year then it progressively becomes more valuable. You can collect this increase in value when you sell your portions of the company (shares of stock) for more than you paid for them, and also when dividends are paid out. This is not gambling; you are part owner of a money making business.
(You can also gamble with stocks. Many new investors can't resist doing that.)
Your company’s board of directors makes the major company decisions and decides what to do with your net earnings.
►Some or all of your earnings may be given directly to the shareholders (you) and this is called a dividend. They just mail you a check or send the money to your brokerage account. This makes the value of the company, and thus the price of the stock decrease by the same amount as the dividend, so you have the same value in the total of stock and dividends.
►Some or all of the earnings may be re-invested in your company so it can grow, open new stores or make repairs. When this is done, the earnings money is used up but your company is more valuable by that same amount.
The per share price, having increased because of the earnings, retain that increase when the earnings are re-invested in your company.
Since your company has reinvested its earnings in itself, it has grown and can earn more money for you next year than last year.
It takes time for your company to earn money, so you would want to buy shares with money that you can leave invested long term.
Like anything that you own that has increased in value, you can sell it at a profit. Brokerage houses generally charge a fee for making the trade, usually 5 to 8 dollars per trade of a “lot” of 100 shares. Of course you can buy or sell less than 100 shares if you wish.