Three displays

Problem Name:
Three displays
Site:CodeForces
Links:
Tags:
Problem setters: