80 N
100 N
120 N
150 N
As the both the masses are in equilibrium the static friction will be acting on blocks which can be found from balancing the forces in vertical direction.
The FBD of block A
Writing force balance in vertical direction for block A
f1=weight of the block A =20N
Writing force balance in vertical direction for block B
f2−f1=weight of the block B
100N
The value of frictional force between wall and block B is 120N