Loading Data Using Firebase

In the process of importing data from the Firebase into the App Inventor, in my case, there is always a problem that the last read data is registered in all variables.

For example, if the price of 'A' is 5000USD, and the price of 'B' is 10000USD, the data is entered in the Firebase, and I want to get the price for each of A and B, but when I get it, both A and B are registered as 10000USD.

In this case, how can I get separate prices for A and B?

Please show your database structure from the firebase console, and the relevant blocks you are using to return the data to your app.