Write the top number for the following time signature

Answer:
4
Explanation:
the time signature is 4/4 since the white lasts for beat so it goes 1 2 3 4 and then the black starts it again 1