A large open tank has two holes in the wall. One is a square hole of side 2 cm at a depth of 5 cm from the top and the other is a circular hole of radius R at a depth of 20 cm from the top. When the tank is completely filled with water, the quantity of water flowing out per second from both the holes is same. Then, what is the value of R?