Three Threadlets

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