Find the 8 digit number

This is a easy and good puzzle.
Find the 8 digit number which satisfies all of the following conditions
1-> the first 2 and last 2 digits are same.
2-> the total of 8 digit is 37.
3-> it is a square number.
4-> it is a cube number.

If anyone wants to make the code, here is the hint:
try making a series of square & cube numbers, then save the common numbers in series. Then you know the remaining task.


Ans:
16777216.


The square root is 4096 and cube root is 256.

i followed this approach as it decreases the chances , i checked for cubes of numbers which end up in 8 digits so the range of numbers from 216 - 464 on cubing gives the answer which is of 8 digits following the same approach in squaring 3163 - 9999 gives the numbers in 8 digits.

So i wrote a loop to check the cube roots against the square roots and i didnt use the condition the first two and last two are same ..
With using that i think the solution will be even simpler ..

Here is the puzzle:

Its very good puzzle. It is simple but still its effective to confuse peple to scratch her heads.
Here is the puzzle:
We have total 100 rs and we need to buy exactly 100 birds. The prizelist for birds is as follow:
1) 1 parrot = 5 rs
2) 1 craw = 1 rs
3) 20 sparrows = 1 rs
But you have to follow these conditions
-> you have to spent all 100 rs.
-> you have to buy exact 100 birds
-> you have to buy all three birds. That mean you cant buy any specific kind of bird. So you must have all three kind of bird when you finish the buying!!!!




Ans:
80 sparrows, 19 parrots and 1 crow
80 sparrows cost = Rs. 4
19 parrots cost = Rs.95
1 crow cost = Rs. 1
---------------------------
100 birds cost = Rs.100