Try to learn properly

Problem Name:
Try to learn properly
Site:Spoj
Links:
Tags:
Problem setters: