using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            ulong count = Convert.ToUInt64(Console.ReadLine());
            ulong i = 0,
                round = 1;
            while (i < count)
            {
                i += 5 * round;
                round *= 2;
            }
            round /= 2;
            i -= 5 * round;
            for (ulong j = 0; j < 5; j++)
            {
                i += round;
                if (i >= count)
                {
                    switch (j)
                    {
                        case 0:
                            Console.Write("Sheldon");
                            break;
                        case 1:
                            Console.Write("Leonard");
                            break;
                        case 2:
                            Console.Write("Penny");
                            break;
                        case 3:
                            Console.Write("Rajesh");
                            break;
                        case 4:
                            Console.Write("Howard");
                            break;
                    }
                    break;
                }
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Double_Cola_82A
{
    class Program
    {
        static void Main(string[] args)
        {
            var names = new string[] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            long x = 5;
            long i = 1;
            long n = long.Parse(Console.ReadLine());
            bool first = true;
            while (n > x)
            {
                n -= x;
                x *= 2;
                i *= 2;
            }
            Console.WriteLine(names[(n - 1) / i]);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodeForcesProject
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] names={"Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            long n = long.Parse(Console.ReadLine()) - 1;
            long ChangeSize = 5;
            while ( ChangeSize<=n)
            {
                n -= ChangeSize;
                ChangeSize *= 2;
            }
            ChangeSize /= 5;
            Console.WriteLine(names[n / ChangeSize]);
            Console.ReadLine();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Text;

namespace CodeForcesProblems
{
    class A82_DoubleCola
    {
        public static void Main()
        {
            //while(true)
            //{
                var value = int.Parse(Console.ReadLine());
                int i = 0;
                var result = 0.0;
                while(true)
                {
                    result += (5* Math.Pow(2, i));
                    if (result >= value)
                        break;

                    i++;
                }
                result -= (5 * Math.Pow(2, i ));
                int j = 1;
                for( j=1;j<=5;j++)
                {
                    result += Math.Pow(2, i);
                    if (result >= value)
                        break;
                }
                switch(j)
                {
                    case 1: Console.WriteLine("Sheldon");
                        break;
                    case 2: Console.WriteLine("Leonard");
                        break;
                    case 3: Console.WriteLine("Penny");
                        break;
                    case 4: Console.WriteLine("Rajesh");
                        break;
                    case 5: Console.WriteLine("Howard");
                        break;

                }

          //  }
        }
    }
}

using System;

namespace Application
{
    class MainClass
    {
        public static void Main (string[] args)
        {
            int n = Convert.ToInt32 (Console.ReadLine());
            int i = 1;
            int range = 5;

            while (n > range) {
                i *= 2;
                range += 5 * i;
            }
            int j = 0;
            while (range >= n) {
                range -= i;
                j++;
            }

            string res = "";
            switch (5 - j + 1) {
            case 1:
                res = "Sheldon";
                break;
            case 2:
                res = "Leonard";
                break;
            case 3:
                res = "Penny";
                break;
            case 4:
                res = "Rajesh";
                break;
            case 5:
                res = "Howard";
                break;
            }

            Console.WriteLine (res);
            Console.ReadLine ();
        }
    }
}

using System;
using System.Collections.Generic;

namespace CodeForces82A
{
    class Program
    {
        private static readonly List<Int64> Degress = new List<Int64>
            {
                0x1, 0x2, 0x4, 0x8,
                0x10, 0x20, 0x40, 0x80,
                0x100, 0x200, 0x400, 0x800,
                0x1000, 0x2000, 0x4000, 0x8000,
                0x10000, 0x20000, 0x40000, 0x80000,
                0x100000, 0x200000, 0x400000, 0x800000,
                0x1000000, 0x2000000, 0x4000000, 0x8000000,
                0x10000000, 0x20000000, 0x40000000, 0x80000000,
                0x100000000, 0x200000000, 0x400000000, 0x800000000
            };

        private static readonly List<String> Names = new List<string> {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};

        static Int64 SumUpTo(int degree)
        {
            Int64 sum = 0;

            for (int i = 0; i<degree; i++)
            {
                sum += Degress[i];
            }

            return sum;
        }

        static void Main(string[] args)
        {
            var input = Console.ReadLine();
            var n = Convert.ToInt64(input);

            var i = 0;

            while (n > 5*SumUpTo(i))
            {
                i++;
            }

            var rest = n - 5*SumUpTo(i - 1);
            var countOfDoublesThisIteration = Degress[i - 1];
            Console.WriteLine(Names[(int)((rest-1)/countOfDoublesThisIteration)]);
        }
    }
}

using System;
using System.Linq;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine())-1;
            String[] TBBT = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            while (n >= 5)
                n = (n - 5) / 2;
            Console.WriteLine(TBBT[n]);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Reflection;
using System.Collections;

namespace program1
{
    class Program1
    {
        string nextToken()
        {
            StringBuilder sb = new StringBuilder();
            int c;
            do
            {
                c = Console.Read();
                if (c == -1 || ((char)c != ' ' && (char)c != '\n' && (char)c != '\t' && (char)c != '\t')) break;
            } while (true);
            if (c == -1)
                return "";
            while (true)
            {
                sb.Append((char)c);
                c = Console.Read();
                if (c == -1 || (char)c == ' ' || (char)c == '\n' || (char)c == '\t' || (char)c == '\t') break;
            }
            return sb.ToString();
        }

        long nextLong() { return long.Parse(nextToken()); }
        int nextInt() { return int.Parse(nextToken()); }

        private string[] Peoples = {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};

        void Solve()
        {
            int n = nextInt() - 1;

            int subqueue = 0;
            while (n>=5*Math.Pow(2, subqueue))
            {
                n -= Convert.ToInt32(5*Math.Pow(2, subqueue));
                subqueue++;
            }
            int people = n/Convert.ToInt32(Math.Pow(2, subqueue));

            Console.Write(Peoples[people]);
        }

        static void Main()
        {
#if TEST
            string dir = Directory.GetParent(Directory.GetCurrentDirectory()).FullName;
            Console.SetIn(new StreamReader(dir + "\\input.txt"));
            Console.SetOut(new StreamWriter(dir + "\\output.txt"));
#endif
            new Program1().Solve();

#if TEST
            Console.In.Close();
            Console.Out.Close();
#endif

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _2013._07._20
{
    class Program
    {
        static void Main(string[] args)
        {
            int n=int.Parse(Console.ReadLine());
            int k = 0;

            for (; true; k++)
            {
                if(5*((1<<k+1)-1)>=n)

                    break;
            }
            int st=5*((1<<k)-1)+1;
            int group=1<<k;
            int i = 0;
            for(;true;i++)
            {
                if (st + group * i > n)
                    break;
            }
            string[] str = new string[5] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            Console.WriteLine(str[i - 1]);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            long n = long.Parse(Console.ReadLine());

            Console.WriteLine(f(n));

            //Console.ReadLine();
        }

        static long p(long a, long p)
        {
            long result = 1;
            for(long i=0;i<p;i++)
                result = result * a;

            return result;
        }

        static string f(long n)
        {
            long no = 1;
            long io = n;
            while (p(2,no-1) * 5 < io)
            {
                io = io - p(2, no - 1) * 5;
                no++;
            }

            long h = p(2, no - 1);

            if (io <= h * 1)
                return "Sheldon";
            else if (io <= h * 2)
                return "Leonard";
            else if (io <= h * 3)
                return "Penny";
            else if (io <= h * 4)
                return "Rajesh";
            else if (io <= h * 5)
                return "Howard";

            return "";
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CF_DoubleCola
{
    class Program
    {
        static void Main(string[] args)
        {
            string mline;
            int m;
            int intname;
            mline = Console.ReadLine();
            m = Int32.Parse(mline);
            int mod = m / 5;
            int group = 0;
            int i = 0;
            while (group <= mod)
            {
                group += (int)(Math.Pow(2, i));
                i++;
            }
            i--;
            group -= (int)(Math.Pow(2, i));
            int curpos = (m - group * 5) / (int)(Math.Pow(2, i));
            int curposin = (m - group * 5) % (int)(Math.Pow(2, i));
            if (curposin != 0)
            {
                intname = curpos + 1;
            }
            else
            {
                intname = curpos;
            }
            if (curpos == 0 && curposin == 0)
                intname = 5;
            switch (intname)
            {
                case 1:
                    Console.Write("Sheldon");
                    break;
                case 2:
                    Console.Write("Leonard");
                    break;
                case 3:
                    Console.Write("Penny");
                    break;
                case 4:
                    Console.Write("Rajesh");
                    break;
                case 5:
                    Console.Write("Howard");
                    break;
                default:
                    break;
            }
            Console.ReadLine();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

    class Program
    {
        static void Main(string[] args)
        {
            int n=int.Parse(Console.ReadLine());
            int k = 1, k1 = 1, k2 = 1, k3 = 1, k4 = 1;
            for (; ; )
            {
                for (int i = 0; i < k; i++)
                {
                    n = n - 1;
                    if (n == 0) { Console.Write("Sheldon"); break; }
                }
                k = k * 2;
                for (int i = 0; i < k1; i++)
                {
                    n = n - 1;
                    if (n == 0) { Console.Write("Leonard"); break; }
                }
                k1 = k1 * 2;
                for (int i = 0; i < k2; i++)
                {
                    n = n - 1;
                    if (n == 0) { Console.Write("Penny"); break; }
                }
                k2 = k2 * 2;
                for (int i = 0; i < k3; i++)
                {
                    n = n - 1;
                    if (n == 0) { Console.Write("Rajesh"); break; }
                }
                k3 = k3 * 2;
                for (int i = 0; i < k4; i++)
                {
                    n = n - 1;
                    if (n == 0) { Console.Write("Howard"); break; }
                }
                k4 = k4 * 2;
                if (n <= 0) { break; }
            }
            Console.ReadLine();
        }
    }

using System;

class Program
{
    static void Main()
    {
        string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

        int k = names.Length;

        int n = int.Parse(Console.ReadLine());
        int g = (int)Math.Log(Math.Ceiling(1.0 * n / k), 2);
        int c = (int)Math.Pow(2, g);
        int j = (n - k * (c - 1) - 1) / c;

        Console.WriteLine(names[j]);
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            long n = long.Parse(Console.ReadLine());
            long i = 0;
            int h = 1;
            while (i <= n)
            {
                for (int j = 0; j < 5; j++)
                {
                    i += h;
                    if (i >= n)
                    {
                        switch(j)
                        {
                            case 0 :
                                Console.WriteLine("Sheldon");
                                break;
                            case 1:
                                Console.WriteLine("Leonard");
                                break;
                            case 2:
                                Console.WriteLine("Penny");
                                break;
                            case 3:
                                Console.WriteLine("Rajesh");
                                break;
                            case 4:
                                Console.WriteLine("Howard");
                                break;

                        }
                        return;
                    }
                }
                h *= 2;
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Double_Cola
{
    class Program
    {
        static string vratiIme(int n)
        {
            if (n == 1) return "Sheldon";
            else if (n == 2) return "Leonard";
            else if (n == 3) return "Penny";
            else if (n == 4) return "Rajesh";
            else return "Howard";
        }
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            Queue<int> ko = new Queue<int>();
            Queue<int> koliko = new Queue<int>();
            ko.Enqueue(1); koliko.Enqueue(1);
            ko.Enqueue(2); koliko.Enqueue(1);
            ko.Enqueue(3); koliko.Enqueue(1);
            ko.Enqueue(4); koliko.Enqueue(1);
            ko.Enqueue(5); koliko.Enqueue(1);
            while(true)
            {
                int trenutniKo = ko.Dequeue();
                int trenutniKoliko = koliko.Dequeue();
                if (n <= trenutniKoliko)
                {
                    Console.WriteLine(vratiIme(trenutniKo));
                    return;
                }
                else
                {
                    n -= trenutniKoliko;
                    ko.Enqueue(trenutniKo);
                    koliko.Enqueue(2 * trenutniKoliko);
                }
            }
        }
    }
}

using System;

class Program
{
    static void Main()
    {
        string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

        int n = int.Parse(Console.ReadLine());
        int k = names.Length;
        int g = (int)Math.Log(Math.Ceiling(1.0 * n / k), 2);
        int c = 1 << g;
        int i = (n + k - 1) / c - k;

        Console.WriteLine(names[i]);
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine()); // Номер  банки
            string[] BBT = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            int CountPeople = 0; // Кол-во людей
            int CountRepeat = 1; // Кол-во повторений
            int step = 0; // шаг

            while (CountPeople < n)
            {
                CountPeople += CountRepeat;
                step++;
                if (step == 5) { CountRepeat *= 2; step = 0; }

            }

            if (step - 1 == -1) Console.WriteLine(BBT[4]);
            else
                Console.WriteLine(BBT[step - 1]);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodeForces
{
    class Program
    {
        static void Main(string[] args)
        {
            var persons = new string[]
            {
                "Sheldon",
                "Leonard",
                "Penny",
                "Rajesh",
                "Howard"
            };

            Int64 n = Convert.ToInt64(Console.ReadLine());

            Int16 p = 0;

            while (true)
            {
                if ((CalcSum(p) >= n))
                {
                    if (p>0 && n>5)
                    {
                        n -= CalcSum((UInt16)(p - 1));
                    }

                    var idx = Convert.ToInt32(Math.Ceiling(n/Math.Pow(2, p)));
                    Console.WriteLine(persons[idx-1]);

                    break;
                }
                p++;
            }

        }

        static Int32 CalcSum(int p)
        {
            Int32 sum = 5;

            if (p == 0)
                return sum;

            for (var i=1; i<=p; i++)
            {
                sum += 5*Convert.ToInt32(Math.Pow(2, i));
            }

            return sum;
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication2
{
    class Program
    {

        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string[] a = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            int[] b = { 1, 1, 1, 1, 1 };

            string otv = "";

            int p = 0;

            int u=0;

            while (u <n)
            {
                if (p >= a.Length) p = 0;
                int k = u;
                for (int i = 0; i < b[p]; i++)
                {
                    otv = a[p];
                    u++;
                    if (u == n) break;

                }
                b[p] *= 2;
                p++;

            }
            Console.WriteLine(otv);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Double_Cola_82A
{
    class Program
    {
        static void Main(string[] args)
        {
            long n = Convert.ToInt64(Console.ReadLine()), save = 0, id = 0; int gp = 1;
            while (id < n)
            {
                save = id;
                id = id + 5 * gp;
                gp = gp * 2;
            }
            long k = (id - save)/5;
            save = save + k;
            if (n <= save) Console.WriteLine("Sheldon");
            else
            {
                save = save + k;
                if (n <= save) Console.WriteLine("Leonard");
            else
                {
                    save = save + k;
                    if (n <= save) Console.WriteLine("Penny");
                    else
                    {
                        save = save + k;
                        if (n <= save) Console.WriteLine("Rajesh");
                        else Console.WriteLine("Howard");
                    }
                    }
                }

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace A82_DoubleCola
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] names = {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            int n = Convert.ToInt32(Console.ReadLine());
            int co = 1, turn = 0, bi=0;

            while (n > bi)
            {
                while (turn < names.Length)
                {
                    bi = bi + co;
                    if (n <= bi)
                    {
                        Console.Write(names[turn]);
                        break;
                    }
                    turn = (turn + 1);
                }
                turn = 0;
                co = co * 2;
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Codeforces82A__Double_Cola
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string[] str = new string[] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            int i = 1;
            while(5*(Math.Pow(2, i)-1 )<n)
            {
                i++;
            }
            for(int j=1;j<6;j++)
            {
                if ((n - (5 * (Math.Pow(2,i-1)-1)) )<=  Math.Pow(2, i-1) * j)
                {
                    Console.WriteLine(str[j-1]);
                    return;
                }
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        private static void MyMain() {

            int n = RInt();
            int r = 1;
            while (r * 5 < n)
            {
                n = n - (r * 5);
                r = r * 2;
            }
            int index = (n-1)/r;
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            WLine(names[index]);

        }
        static void Main()
        {
#if !HOME
            MyMain();
#else
            var tmp = Console.In;
            Console.SetIn(new StreamReader("in.txt"));
            while (Console.In.Peek() > 0)
            {
                MyMain();
            }
            Console.In.Close();
            Console.SetIn(tmp);
            Console.ReadKey();
#endif
        }

        #region Utils
        static string RLine()
        {
            return Console.ReadLine();
        }

        static int RInt()
        {
            var str = Console.ReadLine();
            return Convert.ToInt32(str);
        }

        static int[] RInts()
        {
            return Array.ConvertAll(Console.ReadLine().Split(' '), s => Convert.ToInt32(s));
        }

        static void RInts(out int a, out int b)
        {
            var ints = RInts();
            a = ints[0];
            b = ints[1];
        }

        static void WLine<T>(T s)
        {
            Console.WriteLine(s);
        }
        #endregion
    }
}

using System;
using System.IO;
using System.Text;

namespace Double_Cola
{
    internal class Program
    {
        private static readonly StreamReader reader = new StreamReader(Console.OpenStandardInput(1024*10), Encoding.ASCII, false, 1024*10);
        private static readonly StreamWriter writer = new StreamWriter(Console.OpenStandardOutput(1024*10), Encoding.ASCII, 1024*10);

        private static void Main(string[] args)
        {
            int n = Next() - 1;

            for (long i = 1;; i *= 2)
            {
                if (5*(i - 1) > n)
                {
                    i /= 2;
                    long begin = 5*(i - 1);
                    long delta = (n - begin)/i;

                    switch (delta)
                    {
                        case 0:
                            writer.WriteLine("Sheldon");
                            break;
                        case 1:
                            writer.WriteLine("Leonard");
                            break;
                        case 2:
                            writer.WriteLine("Penny");
                            break;
                        case 3:
                            writer.WriteLine("Rajesh");
                            break;
                        case 4:
                            writer.WriteLine("Howard");
                            break;
                    }

                    break;
                }
            }
            writer.Flush();
        }

        private static int Next()
        {
            int c;
            int res = 0;
            do
            {
                c = reader.Read();
                if (c == -1)
                    return res;
            } while (c < '0' || c > '9');
            res = c - '0';
            while (true)
            {
                c = reader.Read();
                if (c < '0' || c > '9')
                    return res;
                res *= 10;
                res += c - '0';
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Codeforces_1A
{
    class Program
    {
        static void Main(string[] args)
        {
            Task_82A task = new Task_82A();
            task.InitTask(Console.ReadLine().Trim());
            Console.WriteLine(task.Solve());
        }
    }

    class Task_82A
    {
        private string[] m_Names = new string[] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
        private const int COUNT = 5, BASE = 2;

        private int m_Cola = 0;

        public void InitTask(string line)
        {
            m_Cola = Int32.Parse(line) - 1; // zero based number
        }

        public string Solve()
        {
            var cycles = (int)Math.Floor(Math.Log((double)m_Cola / COUNT + 1.0, BASE)); // количество полных раздвоений всех ребят.
            m_Cola = m_Cola - COUNT * ((int)Math.Pow(BASE, cycles) - 1) / (BASE - 1);
            return m_Names[m_Cola / (int)Math.Pow(BASE, cycles)];
        }
    }
}

using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace ConsoleApplication4 {
    class Program {
        static void Main(string[] args) {

            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            long n = long.Parse(Console.ReadLine());

            long size = 5;
            long m = 0;

            long pow = 1;
            long i = 1;

            while (m < n) {
                m += size * pow;
                pow = pow << 1;
                ++i;
            }
            pow = pow >> 1;
            m -= size * pow;

            long index = (int) Math.Ceiling((n - m) / (double) pow) - 1;

            Console.Write(names[index]);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.IO;
using System.Numerics;

namespace probleme {
    class Program {
        static void Main(string[] args) {
            string[] ans = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            int n = int.Parse(Console.ReadLine()) - 1;
            int x = (int)(Math.Log((double)(n) / 5 + 1) / Math.Log(2.0));
            n -= 5 * ((1 << x) - 1);
            int aux = (1 << x), ind = 0;
            while (n >= aux) {
                ind++;
                aux += (1 << x);
            }
            Console.WriteLine(ans[ind]);

            //Console.ReadKey();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
namespace LearningCSharp
{
    class _82A
    {

        static void Main(string [] args) {

            long a = Convert.ToInt64(Console.ReadLine());
            long temp = 5;int u = 1;
            Hashtable ht = new Hashtable();
            // "Sheldon", "Leonard", "Penny", "Rajesh", "Howard"
            ht.Add(0,"Sheldon");
            ht.Add(1,"Leonard");
            ht.Add(2,"Penny");
            ht.Add(3,"Rajesh");
            ht.Add(4,"Howard");int kl = 0;int temp3 = 0;
            string[] ad = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            if (a <= 5) { Console.WriteLine(ad[a-1]); }

            else
            {
                for (;;)
                {

                    for (long i = 0; i < 5; i++)
                    {
                        temp += u * 2;
                        temp3 = u * 2;
                        if (a <= temp) { Console.WriteLine(ad[i]);kl = 1;break; }

                    }
                    if (kl == 1) { break; }
                    u=temp3;
                }
            }

          //  Console.ReadKey();

        }

    }
}

using System;
using System.Collections.Generic;
using System.Linq;

namespace test
{
    class Program
    {

        static void Main(string[] args)
        {
            string number = Console.ReadLine();
//             string[] splitchar = new string[] { " " };
            Int32 num = Convert.ToInt32(number);

            int sum = 0;
            int k = 0;
            while (true)
            {
                sum += 5 << k;
                if (sum > num)
                    break;
                k++;
            }
            int result = 0;

            if (k == 0)
            {
                result = num % 5;
            }
            else
            {
                int y = num  - ((5 << k) - 5);

                int tmp = 5 << (k - 1);

                if (y % ( 1 << k ) == 0)
                {
                    Console.WriteLine("Howard");
                    return;
                }
                else
                {
                    result = (y / (1 << k) + 1)% 5;
                }
            }

            switch (result)
            {
                case 1:
                    Console.WriteLine("Sheldon");
                    break;
                case 2:
                    Console.WriteLine("Leonard");
                    break;
                case 3:
                    Console.WriteLine("Penny");
                    break;
                case 4:
                    Console.WriteLine("Rajesh");
                    break;
                case 0:
                    Console.WriteLine("Howard");
                    break;
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace test
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string[] names = new string[5] {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};
            int sum = 0, cur, i;
            for (i = 1; true; i *= 2)
            {
                cur = sum + (5 * i);
                if (cur < n)
                {
                    sum += (5 * i);
                }
                else break;
            }
            cur = n - sum;
            int j = cur / i;
            if(cur % i != 0)
                j ++;
            Console.WriteLine(names[j - 1]);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CodeForces
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Int32.Parse(Console.ReadLine());
            int k = 1;
            n--;
            for (int i = 5; i < n; i *= 2, k *= 2)
            {
                n -= i;
            }
            n /= k;
            n %= 5;
            switch (n)
            {
                case 0:
                    Console.WriteLine("Sheldon");
                    break;
                case 1:
                    Console.WriteLine("Leonard");
                    break;
                case 2:
                    Console.WriteLine("Penny");
                    break;
                case 3:
                    Console.WriteLine("Rajesh");
                    break;
                case 4:
                    Console.WriteLine("Howard");
                    break;
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Text;

namespace CompetitiveProgramming
{
    public class Program
    {
        public static void Main(string[] args)
        {
            string[] q = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

            string input = Console.ReadLine();

            int n = int.Parse(input);

            int r = GetNormalizedIndex(n);
            Console.WriteLine(q[r]);

        }

        static int GetNormalizedIndex(int n)
        {
            int round = 1;

            int length = 5;
            int start = 1;

            while(n >= start + length)
            {
                round++;
                start += length;
                length += length;
            }

            n -= start;
            n /=length/5;

            return n;
        }

    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fun
{
	class Program
	{
		static void Main(string[] args)
		{
			var n = int.Parse(Console.ReadLine()) - 1;
			var q = (int)Math.Log(n / 5.0 + 1, 2);
			var l = (int)Math.Pow(2, q);
			var qc = 5 * (l - 1);
			var r = n - qc;
			switch (r / l)
			{
				case 0:
					Console.WriteLine("Sheldon"); break;
				case 1:
					Console.WriteLine("Leonard"); break;
				case 2:
					Console.WriteLine("Penny"); break;
				case 3:
					Console.WriteLine("Rajesh"); break;
				case 4:
					Console.WriteLine("Howard"); break;
			}
		}
	}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication6
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int m = n, a = 5, i = -1;
            int[] afrad = new int[5] { 1 , 1 , 1 , 1 , 1 } ;

            while (n > 0)
            {
                n = n - a;
                a = a * 2;
                i++;
            }

            n += (a / 2);
            string g = ((n-1) / (Math.Pow(2, i))).ToString();

            if (g[0] == '0')
            {
                Console.WriteLine("Sheldon");
            }
            if (g[0] == '1')
            {
                Console.WriteLine("Leonard");
            }
            if (g[0] == '2')
            {
                Console.WriteLine("Penny");
            }
            if (g[0] == '3')
            {
                Console.WriteLine("Rajesh");
            }
            if (g[0] == '4')
            {
                Console.WriteLine("Howard");
            }

            Console.ReadLine();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChallengeDoubleCola
{
    class Program
    {
        static void Main(string[] args)
        {
            var n = int.Parse(Console.ReadLine()) ;

            var queue = new[] {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};

                        var ceiling = Math.Ceiling(n / 5d) + 1;
                        var log = Math.Ceiling(Math.Log10(ceiling) / Math.Log10(2));
                        var nearestBorder = 5 * (Math.Pow(2, log - 1) - 1);
            var value = Math.Ceiling((n - nearestBorder) / Math.Pow(2, log - 1));
//            for (int i = 0; i < 158; i++)
//            {
//                n = i;
//                var ceiling = Math.Ceiling(n / 5d) + 1;
//                var log = Math.Ceiling(Math.Log10(ceiling) / Math.Log10(2));
//                var nearestBorder = 5 * (Math.Pow(2, log - 1) - 1);
//                var value = Math.Ceiling((n - nearestBorder) / Math.Pow(2,log-1));
//                Console.WriteLine(i+": "+ value);
//            }
//

            Console.WriteLine(queue[(int) (value-1)]);
        }
    }
}

using System;
using System.Linq;
using System.Collections.Generic;

public class App1
{
    public static void Main()
    {
        Func<string> read = ()=>Console.ReadLine();
        Action<object> write = _=>Console.WriteLine(_.ToString());

        var p=new[]{"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};
        var n=read().ToInt();
        var i=1;
        while(true)
        {
            if(n<=i*5)
            {
                write(p[(n-1)/i]);
                return;
            }
            n-=i*5;
            i*=2;
        }
    }
}

static class Exts
{
    public static int ToInt(this string s)
    {
        return int.Parse(s);
    }
}

using System;

namespace CodeForces
{
    class Program
    {
        static void Main(string[] args)
        {
            int index = int.Parse(Console.ReadLine());

            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

            while (index > 5)
            {
                index = index / 2 - 2;
            }

            Console.WriteLine(names[index - 1]);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Coke_Machine
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int[] line = { 1, 1, 1, 1, 1 };
            int c = 0;
            int count = 0;
            while (true)
            {
                int temp = 0;
                if (c == 5)
                    c = 0;
                for (int i = 1; i <= (line[c]); i++)
                {
                    count++;
                    temp++;
                    if (count == n)
                    {
                        mannum(c);
                        return;
                    }
                }
                line[c] += temp;
                c++;
            }
        }

        static void mannum(int c)
        {
            switch(c)
            {
                case 0:
                    Console.WriteLine("Sheldon");
                    break;
                case 1:
                    Console.WriteLine("Leonard");
                    break;
                case 2:
                    Console.WriteLine("Penny");
                    break;
                case 3:
                    Console.WriteLine("Rajesh");
                    break;
                case 4:
                    Console.WriteLine("Howard");
                    break;
            }
            return;

        }
    }
}

using System;
using System.Collections.Generic;

namespace _82A
{
	class MainClass
	{
		public static void Main ( string[] args )
		{
			int n;
			int.TryParse ( Console.ReadLine ( ) , out n );
			Dictionary<string, int> a = new Dictionary<string, int> ( )
			{
				{"Sheldon", 1},
				{"Leonard", 1},
				{"Penny", 1},
				{"Rajesh", 1},
				{"Howard", 1}
			};

			string[] keys = new string[] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

			while ( true )
			{
				for (int i = 0; i < 5; ++i)
				{
					if ( n - a [ keys[i] ] <= 0 )
					{
						Console.Write ( keys[i] );
						return;
					}
					n -= a [ keys[i] ];
					a [ keys[i] ] *= 2;
				}
			}

		}
	}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace codeforces
{
    class Program
    {
        static void Main(string[] args)
        {
            String [] answer = new String[] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            int now=5;
            int n,k=0,st=1;
            n = int.Parse(Console.ReadLine());
            while(n>now){
                n-=now;
                now*=2;
                st*=2;
                ++k;
            }
            Console.Write(answer[(n-1)/st]);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication
{
    class Program
    {
        static void Main(string[] args)
        {
            int input = int.Parse(Console.ReadLine());
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

            int count = 5;
            int sum = 5;

            while (sum < input)
            {

                count = count * 2;
                sum += count;
            }

            //Console.WriteLine(Math(input - (sum - count), count / 5));
            Console.WriteLine(names[Math(input - (sum - count), count / 5) - 1]);
        }

        static int Math(int a, int b)
        {
            if ((a % b) > 0)
                return a / b + 1;
            else
                return a / b;
        }

    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main()
        {
            int n = int.Parse(Console.ReadLine());
            int i = 0;
            int mnogit = 1;
            while (n > 0)
            {
                i++;
                n = n - mnogit;
                if (i == 5)
                {
                    mnogit = mnogit * 2;
                    if (n > 0)
                        i = 0;
                }
            }

            switch (i)
            {
                case 1:
                    Console.WriteLine("Sheldon");
                    break;
                case 2:
                    Console.WriteLine("Leonard");
                    break;
                case 3:
                    Console.WriteLine("Penny");
                    break;
                case 4:
                    Console.WriteLine("Rajesh");
                    break;
                case 5:
                    Console.WriteLine("Howard");
                    break;
            }
        }
    }
}

using System;

namespace ConsoleApplication19
{
    class Program
    {
        static void Main()
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int x = n;
            for (int i = 1; x > 0; i+=i)
            {
                if (x - i > 0)
                    x -= i;
                else
                {
                    Console.WriteLine("Sheldon");
                    break;
                }
                if (x - i > 0)
                    x -= i;
                else
                {
                    Console.WriteLine("Leonard");
                    break;
                }
                if (x - i > 0)
                    x -= i;
                else
                {
                    Console.WriteLine("Penny");
                    break;
                }
                if (x - i > 0)
                    x -= i;
                else
                {
                    Console.WriteLine("Rajesh");
                    break;
                }
                if (x - i > 0)
                    x -= i;
                else
                {
                    Console.WriteLine("Howard");
                    break;
                }
            }
            Console.ReadLine();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Codeforces
{
    class Program
    {
        static void _158a()
        {
            string[] input = Console.ReadLine().Split();
            int n = int.Parse(input[0]);
            int k = int.Parse(input[1]);
            int[] points = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray();
            int kth = points[k-1];
            Console.WriteLine(points.Count(x => x > 0 && x >= kth));
        }
        static void _71a()
        {
            int n = int.Parse(Console.ReadLine());
            string[] words=new string[n];
            for (int i = 0; i < n; i++)
            {
                words[i] = Console.ReadLine();
            }
            for (int i = 0; i < n; i++)
            {
                if (words[i].Length > 10)
                {
                    //Console.WriteLine(words[i][0] + (words[i].Length - 2) + words[i].Last());
                    Console.Write(words[i][0]);
                    Console.Write(words[i].Length - 2);
                    Console.Write(words[i].Last());
                    Console.WriteLine();
                }
                else
                    Console.WriteLine(words[i]);
            }
        }
        static void _118a()
        {
            string input = Console.ReadLine();
            input=input.ToLower();
            char[] vowels=new[] { 'a', 'o', 'y', 'e', 'u', 'i' };
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < input.Length; i++)
                if (!vowels.Contains(input[i]))
                    sb.Append("." + input[i]);
            Console.WriteLine(sb.ToString());
        }
        static void _158b()
        {
            int n = int.Parse(Console.ReadLine());
            int count = 0;
            string s = Console.ReadLine();
            int _1,_2,_3,_4;
            _1 = _2 = _3 = _4 = 0;
            for (int i = 0; i < s.Length; i++)
            {
                switch (s[i])
                {
                    case '1': _1++;
                        break;
                    case '2': _2++;
                        break;
                    case '3': _3++;
                        break;
                    case '4': _4++;
                        break;
                }
            }
            count = _4;
            int min = Math.Min(_1, _3);
            _1 -= min; _3 -= min;
            count += min;
            count += _3;
            int d2 = _2 / 2;
            count += d2;
            _2 -= d2*2;
            if (_2 == 0)
            {
                count += (int)Math.Ceiling((double)_1 / 4);
            }
            else
            {
                count++;
                _1 -= 2;
                if (_1 > 0)
                    count += (int)Math.Ceiling((double)_1 / 4);
            }
            Console.WriteLine(count);
        }
        static void _50a()
        {
            string[] ss = Console.ReadLine().Split();
            int m = int.Parse(ss[0]);
            int n = int.Parse(ss[1]);
            int f = 0, s = 0;
            f = m / 2 * n;
            s = n / 2 * m;
            bool first = f > s;
            if (first)
            {//gor
                if (m % 2 == 1)
                    f += n / 2;
            }
            else
            { //ver
                if (n % 2 == 1)
                    s += m / 2;
            }
            Console.WriteLine(first ? f : s);
        }
        static void _116a()
        {
            int n = int.Parse(Console.ReadLine());
            int count = 0, curr = 0;
            for (int i = 0; i < n; i++)
            {
                string[] ss = Console.ReadLine().Split();
                int f = int.Parse(ss[0]);
                int s = int.Parse(ss[1]);
                curr += - f + s;
                if (curr > count)
                    count = curr;
            }
            Console.WriteLine(count);
        }
        static void _82a()
        {
            int n = int.Parse(Console.ReadLine());
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

            int gr = 1, end = 5;
            while (end < n)
            {
                gr++;
                end = (int)(5 * (-1 + Math.Pow(2, gr)));
            }
            int need = 4;
            int minus = (int)Math.Pow(2, gr - 1);
            end -= minus;
            while (end >= n)
            {
                minus = (int)Math.Pow(2, gr - 1);
                end-=minus;
                need--;
            }
            Console.WriteLine(names[need]);
        }

        static void Main(string[] args)
        {
            _82a();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ConsoleApplication6
{
    class Program
    {
        static void Main(string[] args)
        {
            var names = new[] {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};
            var n = int.Parse(Console.ReadLine());

            var row = 1;
            var curValue = 0;
            while (true)
            {
                curValue += ((int) Math.Pow(2, row - 1))*5;

                if (curValue >= n)
                    break;

                row++;
            }

            var bPo = 0;

            if (row != 1)
            {
                n = n - (curValue - 5 * (int)Math.Pow(2, row - 1));
                bPo = (int)Math.Pow(2, row - 1);

            }
            else
            {
                bPo = 1;
            }

            for (int i = 1; i <= 5; i++)
            {
                if(i*bPo < n)
                    continue;

                Console.WriteLine(names[i-1]);
                return;
            }
        }
    }
}

using System;

class Fffuuuu {
	public static void Main() {
		Int32 n = Int32.Parse(Console.ReadLine()), i;
		Int32[] vals = new Int32[] { 1, 1, 1, 1, 1 };
		String[] names = new String[] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
		for (i = 0; ; i = (i + 1) % 5) {
			if ((n -= vals[i]) <= 0) {
				Console.WriteLine(names[i]);
				break;
			}
			vals[i] *= 2;
		}
	}
}

using System;

namespace Olymp
{
    public class Program
    {
        static void Z1A ()
        {
            uint n, m, a;
            string str = Console.ReadLine ();
            string [] strs = str.Split (' ');
            n = UInt32.Parse (strs [0]);
            m = UInt32.Parse (strs [1]);
            a = UInt32.Parse (strs [2]);

            uint nn = n / a;
            if (n % a > 0)
                nn++;
            uint nm = m / a;
            if (m % a > 0)
                nm++;
            ulong result = (ulong)nn * (ulong)nm;
            Console.WriteLine (result);
        }

        static void Z4A ()
        {
            int w = Int32.Parse (Console.ReadLine ());
            if (w % 2 == 0 && w > 2)
                Console.WriteLine ("YES");
            else
                Console.WriteLine ("NO");
        }

        static void Z158A ()
        {
            int n, k;
            string [] strs = Console.ReadLine ().Split (' ');
            n = Int32.Parse (strs [0]);
            k = Int32.Parse (strs [1]);
            strs = Console.ReadLine ().Split (' ');
            int max = 0;
            int i;
            for (i = 0; i < k; i++) {
                max = Int32.Parse (strs [i]);
                if (max == 0) {
                    Console.WriteLine (i);
                    return;
                }
            }
            int sum = k;
            for (; i < n; i++) {
                if (Int32.Parse (strs [i]) < max)
                    break;
                sum++;
            }
            Console.WriteLine (sum);
        }

        static void Z71A ()
        {
            int n = Int32.Parse (Console.ReadLine ());
            string str;
            for (int i = 0; i < n; i++) {
                str = Console.ReadLine ();
                if (str.Length > 10) {
                    Console.WriteLine (str [0] + (str.Length - 2).ToString () + str [str.Length - 1]);
                } else {
                    Console.WriteLine (str);
                }

            }
        }

        static void Z118A ()
        {
            string str = Console.ReadLine ();
            str = str.ToLower ();
            str = str.Replace ("a", "");
            str = str.Replace ("o", "");
            str = str.Replace ("y", "");
            str = str.Replace ("e", "");
            str = str.Replace ("u", "");
            str = str.Replace ("i", "");
            for (int i = 0; i < str.Length; i++) {
                Console.Write ("." + str [i]);
            }

        }

        static void Z50A ()
        {

            string   [] strs = Console.ReadLine ().Split (' ');
            int N = Int32.Parse (strs [0]);
            int M = Int32.Parse (strs [1]);
            int result = 0;
            result = (N / 2) * M;
            N %= 2;
            M /= 2;
            result += M * N;
            Console.WriteLine (result);

        }

        static void Z158B ()
        {
            int n = Int32.Parse (Console.ReadLine ());
            string[] strs = Console.ReadLine ().Split (' ');
            int[] com = new int[4];
            for (int i = 0; i < 4; i++) {
                com [i] = 0;
            }
            int temp = 0;
            for (int i = 0; i < n; i++) {
                temp = Int32.Parse (strs [i]);
                com [temp - 1]++;
            }
            int sum = com [3];
            temp = Math.Min (com [2], com [0]);
            com [2] -= temp;
            com [0] -= temp;
            sum += temp;
            sum += com [2];
            sum += com [1] / 2;
            com [1] %= 2;
            sum += com [1];
            com [0] -= com [1] * 2;
            if (com [0] > 0) {

                sum += com [0] / 4;
                com [0] %= 4;
                if (com [0] > 0)
                    sum++;
            }
            Console.WriteLine (sum);

        }

        static void Z231A ()
        {

            int n = Int32.Parse (Console.ReadLine ());
            string[] strs;
            int sum = 0;

            for (int i = 0; i < n; i++) {
                strs = Console.ReadLine ().Split (' ');
                if (Int32.Parse (strs [0]) + Int32.Parse (strs [1]) + Int32.Parse (strs [2]) > 1)
                    sum++;
            }
            Console.WriteLine (sum);
        }

        static void Z282A ()
        {

            int n = Int32.Parse (Console.ReadLine ());
            int x = 0;
            string str;
            for (int i = 0; i < n; i++) {
                str = Console.ReadLine ();
                str = str.Replace ("X", "");
                if (str == "++") {
                    x++;
                } else {
                    x--;
                }
            }
            Console.WriteLine (x);
        }

        static  void Z116A ()
        {

            int n = Int32.Parse (Console.ReadLine ());
            int a = 0, b = 0;
            int sum = 0;
            int max = 0;
            string [] strs;
            for (int i = 0; i < n; i++) {
                strs = Console.ReadLine ().Split (' ');
                a = Int32.Parse (strs [0]);
                b = Int32.Parse (strs [1]);
                sum -= a;
                sum += b;
                if (sum > max) {
                    max = sum;
                }
            }
            Console.WriteLine (max);
        }
        static void Z131A ()
        {
            bool caps=true;
            string str=Console.ReadLine();
            char first=str[0];
            for (int i = 1; i < str.Length; i++) {
                if(str[i]<'A'||str[i]>'Z')
                    caps=false;
            }
            if (caps) {
                str=str.ToLower();
                if(first>='a'&&first<='z')
                    first=first.ToString().ToUpper()[0];
                else
                    first=first.ToString().ToLower()[0];
                str=first+str.Substring(1);

            }
                Console.WriteLine(str);
        }
        static void Z96A ()
        {
            string str=Console.ReadLine();
            int n=0;
            char ch='w';
            for (int i = 0; i < str.Length; i++) {
                if(ch==str[i])
                    n++;
                else
                {
                    if(n>=7)
                    {
                        Console.WriteLine("YES");
                        return;
                    }
                    ch=str[i];
                    n=1;
                }
            }
        if(n<7)
                Console.WriteLine("NO");
            else
                Console.WriteLine("YES");
        }
        static void Z266A ()
        {

            string str=Console.ReadLine();
            str=Console.ReadLine();
            int n=0;
            int m=0;
            char ch=' ';
            for (int i = 0; i < str.Length; i++) {
                if(ch==str[i])
                    n++;
                else
                {
                    m+=n;
                    ch=str[i];
                    n=0;
                }
            }
            m+=n;
            Console.WriteLine(m);
        }
        static void Z133A ()
        {
            string str=Console.ReadLine ();
            for (int i = 0; i < str.Length; i++) {
                if(str[i]=='H'||str[i]=='Q'||str[i]=='9')
                {

                    Console.WriteLine("YES");
                    return;
                }

            }
            Console.WriteLine("NO");

        }
        static void Z112A ()
        {
            string str1=Console.ReadLine();
            str1=str1.ToLower();
            string str2=Console.ReadLine();
            str2=str2.ToLower();
            int n=String.Compare(str1,str2);
            if(n!=0)
            Console.WriteLine(n/Math.Abs(n));
            else
                Console.WriteLine(0);
        }
        static void Z339A ()
        {
            int [] ch = new int[3];
            for (int i = 0; i < 3; i++) {
                ch [i] = 0;
            }
            string str = Console.ReadLine ();
            bool flag = false;
            for (int i = 0; i < str.Length; i++) {
                if (flag)
                    i++;
                else
                    flag = true;
                ch [Int32.Parse (str [i].ToString ()) - 1]++;
            }
            int j = 0;
            flag=false;
            while (j<3) {
                ch[j]--;

                if(ch[j]>=0)
                {
                if(flag)
                {
                    Console.Write("+");
                }
                else
                    flag=true;
                Console.Write(j+1);
                }
                else
                    j++;
            }
        }
        static void Z281A ()
        {
            string str=Console.ReadLine();
            string f=str[0].ToString();
            f=f.ToUpper();
            str=f[0]+str.Substring(1);
            Console.Write(str);
        }
        static void Z82A ()
        {
            string[] names=new  string[5];
            names[0]="Sheldon";
            names[1]="Leonard";
            names[2]="Penny";
            names[3]="Rajesh";
            names[4]="Howard";
            int n=Int32.Parse(Console.ReadLine());
            int m=5;
            while (m<n) {
                n-=m;
                m*=2;
            }
            m/=5;
            int i=0;
            while (m<n) {
                n-=m;
                i++;
            }
            Console.Write(names[i]);
        }
        public static void Main ()
        {
            Z82A();
        }

    }
}

using System;

namespace tren
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            var n = long.Parse(Console.ReadLine()) - 1;
            var step = 5L;

            while(n >= step)
            {
                n -= step;
                step *= 2;
            }
            step = step / 5;
            Console.Write(names[n/step]);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Text;

public class Program
{

    public class Scanner
    {
        private int index;
        private string[] strings;

        public Scanner()
        {
            index = 0;
            strings = new string[0];
        }

        public int nextInt()
        {
            return int.Parse(nextString());
        }

        public double nextDouble()
        {
            return double.Parse(nextString());
        }
        public string NextLine()
        {
            return Console.ReadLine();
        }
        public string nextString()
        {
            if (index >= strings.Length)
            {
                index = 0;
                    strings = NextLine().Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
            }

            return strings[index++];
        }

    }

    public static void Main(string[] args)
    {
        Scanner sc = new Scanner();
        string[] names = new string[] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
        long n = sc.nextInt();
        if (n < 6)
        {
            Console.WriteLine(names[n-1]);
            return;
        }
        long k = 1;
        long pos = 1;
        while (pos <= n)
        {
            pos = pos + k * 5;
            k = k * 2;
        }
        k /= 2;
        pos = pos - k * 5;
        Console.WriteLine(names[(n - pos)/k]);
    }
}

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.InteropServices;
using System.Text;

namespace Achill
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string[] guys = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            int size = guys.Length;
            if (n <= size)
            {
                Console.WriteLine(guys[n - 1]);
            }
            else
            {
                int tmp = 0, a = 5, i = 0;
                while(tmp <= n){
                    tmp += a;
                    a *= 2;
                }
                tmp -= a / 2;
                int cur = 0;
                while(tmp != n)
                {
                    cur++; tmp++;
                }
                Console.WriteLine(guys[cur/(a/10)]);
            }
            //Console.ReadKey();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            double a = 0;
            double b = 0;
            string c = "";
            bool d = true;
            double i = 1;
            double n = double.Parse(Console.ReadLine());
            while( d == true)
            {
                a += i * 5;
                if (a >= n)
                {
                    b = (n - (a-i*5));
                    if (b / i <= 1 && b / i > 0)
                        c = "Sheldon";
                    else if (b / i <= 2 && b / i > 1)
                        c = "Leonard";
                    else if (b / i <= 3 && b / i > 2)
                        c = "Penny";
                    else if (b / i <= 4 && b / i > 3)
                        c = "Rajesh";
                    else if (b / i <= 5 && b / i > 4)
                        c = "Howard";
                    d = false;
                }
                i = i*2;
            }

            Console.WriteLine(c);

            Console.ReadLine();
        }
    }
}

using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;

namespace Problem82A {
    class Program {
        static void Main(string[] args) {
            double nThCan = Convert.ToDouble(Console.ReadLine());
            double power = 0;

            while (true) {
                double tuple = 5 * Math.Pow(2, power);
                if (nThCan - tuple > 0) {
                    nThCan -= tuple;
                    power++;
                } else {
                    break;
                }
            }

            double tuple1 = Math.Pow(2, power);
            //int person = Convert.ToInt32(nThCan / tuple1);
            if (nThCan > 0 && nThCan <= tuple1) {
                Console.WriteLine("Sheldon");
            } else if (nThCan > 0 && nThCan <= 2 * tuple1) {
                Console.WriteLine("Leonard");
            } else if (nThCan > 0 && nThCan <= 3 * tuple1) {
                Console.WriteLine("Penny");
            } else if (nThCan > 0 && nThCan <= 4 * tuple1) {
                Console.WriteLine("Rajesh");
            } else if (nThCan == 0 || nThCan <= 5 * tuple1) {
                Console.WriteLine("Howard");
            }
        }
    }
}

using System;
// you can also use other imports, for example:
using System.Collections.Generic;
using System.Linq;
public class HelloWorld {

	public static void Main(string[] args)
	{
		var n = Convert.ToInt32(Console.ReadLine());
		double c = 0;
		double t = 1.0;
		while (c + t * 5 < n)
		{
			c += t * 5;
			t *= 2;
		}
		var r = Math.Ceiling((n-c) / t );
		switch((int)r)
		{
			case 5: Console.WriteLine("Howard"); break;
			case 4: Console.WriteLine("Rajesh"); break;
			case 3: Console.WriteLine("Penny"); break;
			case 2: Console.WriteLine("Leonard"); break;
			case 1: Console.WriteLine("Sheldon"); break;
			default: Console.WriteLine(r); break;
		}

	}

}

using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;

namespace Test1
{
	class MainClass
	{
		public static void Main (string[] args)
		{

			int num = int.Parse (Console.ReadLine ());
			string[] str = new string[] {
				"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"
			};
			int cur = 5, n = 0, e = 1, k = 0, l = 0, p = 0;
			while (num > cur) {
				k = 5 * e;
				cur = k + n;
				if (num > cur) {
					n = cur;
					e *= 2;
				}
			}
			l = n + e;
			while (num > l) {
				l +=e;
				n = l;
				p++;
			}
			Console.Write (str [p]);
		}
	}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Codeforces
{
    class Program
    {
        static void Main(string[] args)
        {
            // name list
            List<string> lNames = new List<string>
            {
                "Sheldon",
                "Leonard",
                "Penny",
                "Rajesh",
                "Howard"
            };

            // the nth can
            int n = int.Parse(Console.ReadLine());

            int a = 0;
            int s = lNames.Count;
            int pa = 0;
            for (int i = 1; ; ++i)
            {
                a += s;
                if (n > a)
                {
                    pa = a;
                    s += s;
                    continue;
                }

                int ind = (n - pa - 1) / Convert.ToInt32(Math.Round(Math.Pow(2.0, i - 1)));

                // display results
                Console.WriteLine("{0}", lNames[ind]);
                break;
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoubleCola
{
    class Program
    {
        static void Main(string[] args)
        {
            int N = Convert.ToInt32(Console.ReadLine());
            int i = 0;
            string[] s = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            while (N > Math.Pow(2, i) * 5)
            {
                N -= (int)Math.Pow(2, i) * 5;
                i++;
            }
            N = (int)Math.Ceiling(N/(Math.Pow(2, i)));
            Console.WriteLine(s[N-1]);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace CodeForce
{
    using System.Threading;

    class Program
    {
        static void Main(string[] args)
        {
            string[] person = new[] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

            int input = int.Parse(Console.ReadLine());
            //Console.WriteLine(Simulator(input));

            Console.WriteLine(person[Simulator(input)-1]);

            //Console.WriteLine(Simulator(1802));

            //for (int i = 1; i <= 40; i++)
            //{
            //    Console.WriteLine("{0} --> {1}", i, Simulator(i));
            //    //Console.WriteLine((i + 1) + ": " + person[Simulator(i)]);
            //}
        }

        static int Simulator(int target)
        {
            int basis = 5;
            int index = 1;
            int adder = 1;
            int multiplyCount = 1;

            while (true)
            {
                if (index > target)
                {
                    if (multiplyCount == 1)
                        return basis;

                    return multiplyCount - 1;
                }

                if (index == target)
                    return multiplyCount;

                index += adder;
                if (multiplyCount == basis)
                {
                    multiplyCount  = 1;
                    adder  *= 2;
                    //Console.WriteLine("---");
                }
                else
                    multiplyCount += 1;
            }
        }

        static void xMain()
        {
            Queue<string> queue = new Queue<string>();
            queue.Enqueue("A");
            queue.Enqueue("B");
            queue.Enqueue("C");

            // STEP
            // Kalau sama = huruf n penambah terakhir
            // Kalau lebih besar = huruf penambah terakhir - 1
            // Kalau lebih kecil = tambah terus
            //  A  B  C
            // +1 +1 +1
            //  A  B  C
            // +2 +2 +2
            // +3 +3 +3

            //queue.Enqueue("D");
            //queue.Enqueue("E");

            // 3 + 6
            Console.WriteLine(SimulateQueue(queue, 21));
        }

        static string SimulateQueue(Queue<string> queue, int n)
        {
            string match = String.Empty;
            for (int i = 0; i < n; i++)
            {
                queue.PrintQueue(i + 1);

                var now = queue.Dequeue();
                queue.Enqueue(now);
                queue.Enqueue(now);

                match = now;
            }

            return match;
        }
    }

    public static class QueueHelper
    {
        public static void PrintQueue(this Queue<string> queue, int num)
        {
            var qs = queue.ToArray();

            foreach (var el in qs)
                Console.Write(el);

            Console.WriteLine(" " +  num);
        }
    }
}

using System;

class Program
{
    static void Main(string[] args)
    {
        int n = Int32.Parse(Console.ReadLine());
        string[] persons = new string[] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
        string output = "";

        //12345112233445511112222333344445555
        // 1x5   2x5         4x5                   8x5                 16x5
        int sum = 0;
        int round = 1;
        while (sum < n)
        {
            sum = sum + round * 5;
            round *= 2;
        }
        sum = sum - (round/2) * 5;
        int loc = 0;
        round /= 2;
        while (sum < n)
        {
            sum = sum + round;
            loc++;
        }
        output = persons[loc-1];
        Console.WriteLine(output);
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _82A
{
    class Program
    {
        static void Main(string[] args)
        {
            long n = int.Parse(Console.ReadLine());
            long cur = 0;
            long x = 0;
            while (cur<n)
            {
                if (x != 0) x *= 2;
                else x = 1;
                if (cur + x*5  < n)
                {
                    cur += x * 5;
                }
                else break;
            }
            int i;

            for (i = 1; i <= 5; i++)
            {
                if (cur + i * x >= n) break;
            }
            switch (i)
            {
                case 1: Console.WriteLine("Sheldon");
                    break;
                case 2: Console.WriteLine("Leonard");
                    break;
                case 3: Console.WriteLine("Penny");
                    break;
                case 4: Console.WriteLine("Rajesh");
                    break;
                case 5: Console.WriteLine("Howard");
                    break;
            }
        }
    }
}

using System;

namespace Double_Cola
{
    class MainClass
    {
        public static void Main(string[] args)
        {
            int NumberInQueue = Convert.ToInt32(Console.ReadLine());

            int Rank = 5;
            int Rank_count = 1;
            int Position = 0;
            string Result = "";

            while (Rank < NumberInQueue)
            {
				Rank_count = Rank_count * 2;
                Rank = Rank + (5 * Rank_count);
            }
            Position = Rank - NumberInQueue;

            Position = Rank_count * 5 - Position;

            if (Position <= Rank_count) Result = "Sheldon";
            else
            {
                if (Position <= Rank_count * 2) Result = "Leonard";
                else
                {
					if (Position <= Rank_count * 3) Result = "Penny";
                    else
                    {
						if (Position <= Rank_count * 4) Result = "Rajesh";
                        else
                        {
							if (Position <= Rank_count * 5) Result = "Howard";
                        }
                    }
                }
            }
            Console.WriteLine(Result);
            //  A, B, C, D, E,    A, A, B, B, C, C, D, D, E, E,    A, A, A, A, B, B, B, B, C, C, C, C, D, D, D, D, E, E, E, E
			//  1  2  3  4  5     6  7  8  9 10 11 12 13 14 15    16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
			//                    1  2  3  4  5  6  7  8  9 10     1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20
		}
    }
}

using System;
using System.Text;

namespace TeatherSquare
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            n--;
            while(n > 4)
            {
                n-=5;
                 n/=2;
            }
            switch (n)
            {
                case 0:
                    {
                        Console.WriteLine("Sheldon");
                        break;
                    }
                case 1:
                    {
                        Console.WriteLine("Leonard");
                        break;
                    }
                case 2:
                    {
                        Console.WriteLine("Penny");
                        break;
                    }
                case 3:
                    {
                        Console.WriteLine("Rajesh");
                        break;
                    }
                case 4:
                    {
                        Console.WriteLine("Howard");
                        break;
                    }
            }
            Console.ReadLine();

        }

    }
}

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;

namespace codeforces
{
    class Program
    {
        static string NameWithIndex(ulong index)
        {
            switch (index)
            {
                case 0:
                    return "Sheldon";
                case 1:
                    return "Leonard";
                case 2:
                    return "Penny";
                case 3:
                    return "Rajesh";
                default:
                    return "Howard";
            }
        }
        static void Main(string[] args)
        {
            ulong n = Convert.ToUInt64(Console.ReadLine()) - 1;
            for (ulong i = 0; ; i++)
            {
                ulong pow = (ulong)Math.Pow(2, i);
                if (n < 5 * pow)
                {
                    //get name
                    ulong index = n / pow;
                    Console.WriteLine(NameWithIndex(index));
                    return;
                }
                else
                {
                    n -= pow * 5;
                }
            }
        }
    }
}

using System;

class Problem{
    static void Main(string[] args){

        int n = int.Parse(Console.ReadLine());
        string[] names = new string[5];
        names[0] = "Sheldon";
        names[1] = "Leonard";
        names[2] = "Penny";
        names[3] = "Rajesh";
        names[4] = "Howard";

        int colasdrunk = 1;
        int lastperson = 0;
        int increment = 1;
        while(colasdrunk < n){
            if(lastperson == 4){
                increment = increment * 2;
            }
            colasdrunk = colasdrunk + increment;
            lastperson = (lastperson+1)%5;
        }
        Console.WriteLine(names[lastperson]);
    }
}

using System;

namespace CSharp
{
    public class _82A
    {
        public static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            int d = 1;

            while (n > 5 * d)
            {
                n -= 5 * d;
                d *= 2;
            }

            switch ((n - 1) / d)
            {
                case 0:
                    Console.WriteLine("Sheldon");
                    break;
                case 1:
                    Console.WriteLine("Leonard");
                    break;
                case 2:
                    Console.WriteLine("Penny");
                    break;
                case 3:
                    Console.WriteLine("Rajesh");
                    break;
                case 4:
                    Console.WriteLine("Howard");
                    break;
            }
        }
    }
}

using System;
using System.Collections.Generic;

namespace ProblemsCodeforce
{
    class _82A
    {
        static void Main(string[] args)
        {
            var k = Int32.Parse(Console.ReadLine());
            int result = 0;
          //  for (k = 16; k <= 100; k++)
            //{
                int n = (int)(Math.Log(k / 5 + 1, 2));
                int r = k - 5 * ((1 << n) - 1);
                result =(int)(1.0 * r / (1 << n) + .9999999);
                switch (result)
                {
                    case 1:
                        Console.Write("Sheldon");
                        break;
                    case 2:
                        Console.Write("Leonard");
                        break;
                    case 3:
                        Console.Write("Penny");
                        break;
                    case 4:
                        Console.Write("Rajesh");
                        break;
                    case 0:
                    case 5:
                        Console.Write("Howard");
                        break;
                    //default:
                    //    Console.WriteLine("k=" + k);
                    //    break;
                //}
                //Console.Write(" ");
            }
        }
    }
}

using System;
//using System.Collections.Generic;

namespace _A
{
	class MainClass
	{
		public static void Main (string[] args)
		{

			string[] Name = {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

			/*List<int> New = new List<int> ();
			for (int i = 0; i < 5; i++)
				New.Add (i);

			for (int i = 1; i < 150; i++) {

				Console.WriteLine ("\n " + i + " " + Name [New [0]]);

				for (int j = 0; j < 2; j++)
					New.Add (New [0]);

				New.RemoveAt(0);

			}*/

			uint N = uint.Parse (Console.ReadLine ());
			uint Last = N, Temp = 1, Now = 0;

			if (Last > 5) {

				for (uint i = 5; i < N; i += 5 * Temp) {
					Last = i;
					Temp *= 2;
				}

				for (Now = 1; Last + Now * Temp < N; Now++) {

				}
				Last = Now;

			}

			Console.WriteLine (Name [Last - 1]);
			Console.ReadLine ();

		}
	}
}

using System;
using System.Linq;

namespace ConsoleApplication3
{
    internal class Program
    {
        private static void Main()
        {
            var input = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
            var i = input[0] -1;

            var d = 1L;

            var xP = 0L;
            var x = 0L;
            while (x <= i)
            {
                xP = x;
                x += d * 5;
                d *= 2;
            }
            var names = new[] {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};
            Console.WriteLine(names[(i - xP) / (d/2)]);
        }
    }
}

using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Text.RegularExpressions;

namespace Dictionary
{
    class Program
    {
        enum names { Sheldon = 1, Leonard, Penny, Rajesh, Howard }
        static void Main(string[] args)
        {
            int count = 5;
            long n = long.Parse(Console.ReadLine());
            long k = 1;
            for (; ; )
            {
                if (n > count * k) { n -= count * k; k <<= 1; continue; }
                long need;
                long res = Math.DivRem(n, k, out need);
                res = need == 0 ? res : res + 1;
                Console.WriteLine((names)res);
                break;
            }
        }
    }
}

using System;
class Program
{
    static void Main()
    {
        string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
        var n = int.Parse(Console.ReadLine()) - 1;
        while (n >= 5)
        {
            n -= 5;
            n /= 2;
        }
        Console.WriteLine(names[n]);
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

class Program
{
    static void Main(string[] args)
    {
        double n;
        n = double.Parse(Console.ReadLine());
        if (n > 5)
        {
            int a = 5, i = 1, c = 1;
            while (n - a > 0)
            {
                n -= a;
                a += a;
                i *= 2;
            }
            while (n > i)
            {
                n -= i;
                c++;
            }
            n = c;
        }

        if (n == 1)
            Console.WriteLine("Sheldon");
        if (n == 2)
            Console.WriteLine("Leonard");
        if (n == 3)
            Console.WriteLine("Penny");
        if (n == 4)
            Console.WriteLine("Rajesh");
        if (n == 5)
            Console.WriteLine("Howard");
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TaskA
{
    class Program
    {
        static void Main(string[] args)
        {
            int n, r, s = 0;
            int i = 0;

            n = int.Parse(Console.ReadLine());
            while (n > s)
                s += 5 * (int)Math.Pow(2, i++);
            s -= 5 * (int)Math.Pow(2, --i);
            r = (n - s + (int)Math.Pow(2, i) - 1) / (int)Math.Pow(2, i);
            switch (r)
            {
                case 1:
                    Console.WriteLine("Sheldon");
                    break;
                case 2:
                    Console.WriteLine("Leonard");
                    break;
                case 3:
                    Console.WriteLine("Penny");
                    break;
                case 4:
                    Console.WriteLine("Rajesh");
                    break;
                case 5:
                    Console.WriteLine("Howard");
                    break;
            }
        }
    }
}

using System;
using System.Linq;
using System.Collections.Generic;

namespace CodeForces
{
	class Program
	{
		public static void Main(string[] args)
		{
			DoubleCola();
		}
		static void DoubleCola(){
			string[] names = {"Sheldon","Leonard","Penny","Rajesh","Howard"};
			int n = int.Parse(Console.ReadLine())-1;
			while ( n>= 5 ) n = (n-5) /2;
			Console.WriteLine(names[n]);
		}
	}
}

using System;

namespace com.codeforces._82
{
    public static class A
    {
        static void solve()
        {
            int n = RI();

            int[] array = { 1, 1, 1, 1, 1 };
            int i = 0;
            for (; ; )
            {
                if (n <= array[i])
                {
                    break;
                }

                n -= array[i];
                array[i] *= 2;

                i++;
                if (i > 4)
                {
                    i = 0;
                }
            }

            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            Console.Write(names[i]);
        }

        public static void Main()
        {
#if !ONLINE_JUDGE
            Console.SetIn(new System.IO.StreamReader("input.txt"));
            System.IO.StreamWriter fout = new System.IO.StreamWriter("output.txt");
            Console.SetOut(fout);
#endif
            solve();
#if !ONLINE_JUDGE
            fout.Flush();
            fout.Close();
#endif
        }

        public static int RI()
        {
            int c;
            do
            {
                c = Console.Read();
            }
            while (c < '0' || c > '9');

            int sign = 1;
            if (c == '-')
            {
                sign = -1;
                c = Console.Read();
            }

            int value = 0;
            do
            {
                value = value * 10 + c - '0';
                c = Console.Read();
            }
            while (c >= '0' && c <= '9');

            return value * sign;
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

class Program
{
    static void p(object value)
    {
        Console.WriteLine(value.ToString());
    }

    static string gets()
    {
        return Console.ReadLine();
    }

    static void Main(string[] args)
    {
         long n = int.Parse(gets());

         long l = 1;
         long r = 5;

         long up = 5;

         while (r < n) {
           up = up * 2;
           l = r + 1;
           r = r + up;
         }

        // p(l + " " + r);

         long dif = n - l;

         long people = dif / (up / 5);

         if (people == 0) {
            p("Sheldon");
         }
         if (people == 1) {
            p("Leonard");
         }
         if (people == 2) {
            p("Penny");
         }
         if (people == 3) {
            p("Rajesh");
         }
         if (people == 4) {
            p("Howard");
         }
    }
}

using System;

namespace _82A_Doble_Cola
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int i = 0;
            int k = 1, s = 1;
            while ((-5 * (1 - Math.Pow(2, i))) < n)
            { i++;
            }
            while (((-5 * (1 - Math.Pow(2, (i-1))))+ Math.Pow(2, (i - 1))*k)<n)
                {
                k++;
                s++;
            }
            switch (s)
            {
                case 1:
         Console.WriteLine("Sheldon");
                    break;
                case 2:
         Console.WriteLine("Leonard");
                    break;
                case 3:
         Console.WriteLine("Penny");
                    break;
                case 4:
         Console.WriteLine("Rajesh");
                    break;
                case 5:
         Console.WriteLine("Howard");
                    break;
            }
            }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;

namespace sample
{
    class Program
    {
        static void Main(string[] args)
        {
            int input = Convert.ToInt32(Console.ReadLine());
            string[] names = {"", "Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};
            double gen = 0;
            double rem = input;
            while (rem > 5.0 * Math.Pow(2.0, gen))
            {
                rem-=(5.0 * Math.Pow(2.0, gen));
                gen++;
            }
            int i = (int)Math.Ceiling(rem/(Math.Pow(2.0, gen)));
            System.Console.WriteLine(names[i]);
        }

    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace A.Double_Cola
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            int k1 = 0, k2 = 0, i;

            for (i = 0; i < 30; i++)
            {
                k1 = k2;
                k2 += (int)Math.Pow(2, i) * 5;

                //Console.Write("k1 = "+k1+" k2 = "+k2);

                if (n > k1 & n <= k2)
                {
                    n = (n - k1 - 1) / (int)Math.Pow(2, i);
                    break;
                }
            }

            switch (n)
            {
                case 0: Console.WriteLine("Sheldon"); break;
                case 1: Console.WriteLine("Leonard"); break;
                case 2: Console.WriteLine("Penny"); break;
                case 3: Console.WriteLine("Rajesh"); break;
                case 4: Console.WriteLine("Howard"); break;
            }

            Console.ReadLine();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Codeforces
{
    class Program
    {

        static void Main(string[] args)
        {
            string[] name = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            long n = long.Parse(Console.ReadLine());
            char who = 's';
            long i = n;
            long how = 1;
            while (i > 0)
            {
                i = i - how;
                who = 's';
                if (i <= 0) break;
                i = i - how;
                who = 'l';
                if (i <= 0) break;
                i = i - how;
                who = 'p';
                if (i <= 0) break;
                i = i - how;
                who = 'r';
                if (i <= 0) break;
                i = i - how;
                who = 'h';
                how = how * 2;
                if (i <= 0) break;
            }
            switch (who)
            {
                case 's':
                    Console.WriteLine(name[0]);
                    break;
                case 'l':
                    Console.WriteLine(name[1]);
                    break;
                case 'p':
                    Console.WriteLine(name[2]);
                    break;
                case 'r':
                    Console.WriteLine(name[3]);
                    break;
                case 'h':
                    Console.WriteLine(name[4]);
                    break;

            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static int[] ReadInt(int size)
        {
            string[] input = Console.ReadLine().Split(' ');
            int[] res = new int[size];
            for (int i=0; i<input.Length; i++)
            {
                res[i] = Convert.ToInt32(input[i]);
            }
            return res;
        }

        static int ReadInt()
        {
            int n = Convert.ToInt32(Console.ReadLine());
            return n;
        }

        static String ReadString()
        {
            return Console.ReadLine();
        }

        static int Max(int a, int b)
        {
            return (a > b ? a : b);
        }

        static void WL<T> (T s)
        {
            Console.WriteLine(s);
        }

        static void Main(string[] args)
        {
            int n = ReadInt();
            int x = (int)Math.Truncate( Math.Log(n/5+1,2) );
            int temp = 5 * (int)(Math.Pow(2, x) - 1);
            int res = 1;
            while (temp < n)
            {
                temp += (int)(Math.Pow(2, x));
                if (temp < n) res++;
            }
            if (n <= 5) res = n;
            switch (res)
            {
                case 1:
                    WL("Sheldon");
                    break;
                case 2:
                    WL("Leonard");
                    break;
                case 3:
                    WL("Penny");
                    break;
                case 4:
                    WL("Rajesh");
                    break;
                case 5:
                    WL("Howard");
                    break;
            }
            Console.ReadLine();
        }
    }
}

using System;
using System.Collections.Generic;

namespace AllProblems
{
    class Program
    {
        static void Main(string[] args)
        {
            _082A_DoubleCola.Run();
        }
    }

    class _082A_DoubleCola
    {
        public static void Run()
        {
            var n = int.Parse(Console.ReadLine());
            var names = new[] {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};

            if (n < 6)
            {
                Console.WriteLine(names[n-1]);
                Console.ReadLine();
                return;
            }
            var ctr = 0;
            var num = 5;
            while (ctr+num < n)
            {
                ctr += num;
                num *= 2;
            }

            var diff = n - ctr;
            var div = num/5;
            var mod = diff/div;

            Console.WriteLine(names[mod]);

            Console.ReadLine();
        }
    }
}

using System;
class Program
    {
        static void Main(string[] args)
        {
            string[] rs = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            int input = int.Parse(Console.ReadLine());
            int m = (int)Math.Pow(2D, Math.Floor(Math.Log(input / 5, 2)));
            if (m > 0)
            {
                input -= m * 5 - 5;
                input = input / m + (input % m == 0 ? 0 : 1) - 1;
            }
            else input--;
            Console.WriteLine(rs[input>4?4:input]);
        }
    }

using System;
// you can also use other imports, for example:
using System.Collections.Generic;
using System.Linq;
public class HelloWorld {

	public static void Main(string[] args)
	{
		var n = Convert.ToInt32(Console.ReadLine());
		var c = 1;
		var t = 1;
		while (c + t * 5 < n)
		{
			c += t * 5;
			t *= 2;
		}
		var r = ((n-c) / t ) + 1;
		//Console.WriteLine( c + " " + t);
		switch(r)
		{
			case 5: Console.WriteLine("Hovard"); break;
			case 4: Console.WriteLine("Rajesh"); break;
			case 3: Console.WriteLine("Penny"); break;
			case 2: Console.WriteLine("Leonard"); break;
			case 1: Console.WriteLine("Sheldon"); break;
			default: Console.WriteLine(r); break;
		}

	}

}

using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;

namespace Test1
{
	class MainClass
	{
		public static void Main (string[] args)
		{

			int num = int.Parse (Console.ReadLine ());
			string[] str = new string[] {
				"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"
			};
			int cur = 0, n = 0, e = 1, k = 0, l = 0, p = 0;
			while (num > cur) {
				k = 5 * e;
				cur = k + n;
				n += 5;
				e *= 2;
			}
                        l = n + e;
			while (num > l) {
				l = n + e;
				n = l;
				p++;
			}
			Console.Write (str [p]);
		}
	}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

class Program
{
    static void p(object value)
    {
        Console.WriteLine(value.ToString());
    }

    static string gets()
    {
        return Console.ReadLine();
    }

    static void Main(string[] args)
    {
         long n = int.Parse(gets());

         long l = 1;
         long r = 5;

         long up = 5;

         while (r < n) {
           up = up * 2;
           l = r + 1;
           r = r + up;
         }

         p(l + " " + r);

         long dif = n - l;

         long people = dif / (up / 5);

         if (people == 0) {
            p("Sheldon");
         }
         if (people == 1) {
            p("Leonard");
         }
         if (people == 2) {
            p("Penny");
         }
         if (people == 3) {
            p("Rajesh");
         }
         if (people == 4) {
            p("Howard");
         }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TBB
{
    class Program
    {
        static void Main(string[] args)
        {
            Heroes pers = Heroes.Howard;
            Array enumData = Enum.GetValues(pers.GetType());
            int N = Int32.Parse(Console.ReadLine());
            int sum = 0;
            int i = 0;
            byte person;
            while (N - sum >= 0)
            {
                i++;
                sum = Sum(i);
            }

            sum = Sum(i-1);
            if (i == 0 || i == 1) person = (byte)((N - sum));
            else person = (byte)(((N - sum) % i)%5 +1);
            Console.WriteLine(enumData.GetValue(person));
        }

        public static int Sum(int n)
        {
            int sum = 5 * (int)(Math.Pow(2d, (double)(n-1)));
            return sum;
        }
    }
    enum Heroes : byte
    {
        Howard  = 0,
        Sheldon,
        Leonard,
        Penny,
        Rajesh,

    };

}

using System;
using System.Collections.Generic;
using System.Linq;

namespace test
{
    class Program
    {

        static void Main(string[] args)
        {
            string number = Console.ReadLine();
//             string[] splitchar = new string[] { " " };
            Int64 num = Convert.ToInt64(number);

            Int64 tmp = (num + 5) / 5;

            double xtmp = Math.Log(tmp, 2);
            double x = Math.Floor(xtmp);
            Int64 y = num - 5 * (Int64)(Math.Pow(2, x) - 1);
            int result = (int)Math.Ceiling(y / Math.Pow(2, x));
            switch (result)
            {
                case 1:
                    Console.WriteLine("Sheldon");
                    break;
                case 2:
                    Console.WriteLine("Leonard");
                    break;
                case 3:
                    Console.WriteLine("Penny");
                    break;
                case 4:
                    Console.WriteLine("Rajesh");
                    break;
                case 5:
                    Console.Write("Howard");
                    break;
            }
        }
    }
}

using System;
class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string[] names = { "", "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            if (n > 5)
            {

                double lg2 = Math.Floor(Math.Log(n/5, 2d));
                double clthst = Math.Pow(2d, lg2++)*5d;
                clthst = (double)n - clthst;
                lg2 = Math.Pow(2d, lg2);
                clthst = Math.Ceiling(clthst / lg2);
                Console.WriteLine(clthst);
            }
            else Console.WriteLine(names[n]);
        }
    }

using System;
using System.Linq;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            String[] TBBT = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            while (n >= 5)
                n = (n - 5) / 2;
            Console.WriteLine(TBBT[n]);
        }
    }
}

using System;
 class soublecola
 {
     static void Main()
     {
         double n = double.Parse(Console.ReadLine());
         double i = 0;
          double j = 0;
          double sum = 0;
 	  if ( n <= 5 )
	  {
		if ( n == 1)
 		   Console.WriteLine("Sheldon");
		if ( n == 2 )
		   Console.WriteLine("Leonard");
	        if ( n == 3 )
		   Console.WriteLine("Penny");
		if ( n == 4 )
		   Console.WriteLine("Rajesh");
		if ( n == 5 )
		   Console.WriteLine("Howard");
	  }
	  else
	  {
          while ( n > 0 )
          {
              sum += 5*Math.Pow(2,j);
              j++;
              i = Math.Pow(2,j);
              if ( sum > n)
              {
                  n = n;
                  break;
              }
              else
                  n -= sum;
          }

          if ( n/i > 0 && n/i <= 1 )
              Console.WriteLine("Sheldon");
          else if ( n/i > 1 && n/i <= 2)
              Console.WriteLine("Leonard");
          else if ( n/i > 2 && n/i <= 3)
              Console.WriteLine("Penny");
          else if ( n/i > 3 && n/i <= 4)
              Console.WriteLine("Rajesh");
          else if ( n/i > 4 && n/i <= 5)
              Console.WriteLine("Howard");
	  }

      }
  }

using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//using System.Threading;
//using System.Diagnostics;
//using System.Collections;
//using System.Text.RegularExpressions;
//using System.Net;
//using System.IO;
//using System.Globalization;

namespace Tasks
{

    class Program
    {
        enum names { Sheldon = 1, Leonard, Penny, Rajesh, Howard };

        static void Main(string[] args)
        {
            int count = 5;
            long n = long.Parse(Console.ReadLine());
            //int n = 21;
            long k = 1;
            long res;
            if (n > count)
            {
                for (; ; )
                {
                    if (n > count * k) { n -= count * k; k <<= 1; continue; }
                    res = n / (k+1) + 1;
                    break;
                }
                Console.WriteLine((names)res);
            }
            else Console.WriteLine((names)n);
        }

    }

}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CforceS81A
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = Convert.ToInt32(Console.ReadLine());
            int b=0;
            int k;
            int i=0;

            int tmp=1;
            int tmp1=5;

            int st = 0;
            int end = 0;
            if (x > 6)
            {
                for (k = 0; true; k++)
                {
                    st++;
                    end = st + Convert.ToInt32(4 + 5 * (Math.Pow(2, k) - 1));
                    if (st < x && end > x)
                    {
                        break;
                    }
                    st = end;
                }
                while (true)
                {
                    Console.Write(st + i * Math.Pow(2, k));
                    Console.Write(" - ");
                    Console.Write(st + (i + 1) * Math.Pow(2, k) - 1);
                    Console.WriteLine("");
                    if (st + i * Math.Pow(2, k) <= x && st + (i + 1) * Math.Pow(2, k) - 1 >= x)
                    {
                        break;
                    }
                    i++;
                }
            }
            else
            {
                i = x - 1;
            }
            switch (i + 1)
            {
                case 1:
                    Console.Write("Sheldon");
                    break;
                case 2:
                    Console.Write("Leonard");
                    break;
                case 3:
                    Console.Write("Penny");
                    break;
                case 4:
                    Console.Write("Rajesh");
                    break;
                case 5:
                    Console.Write("Howard");
                    break;

            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            double a = 0;
            double b = 0;
            int c = 0;
            bool d = true;
            double i = 1;
            double n = double.Parse(Console.ReadLine());
            while( d == true)
            {
                a += i * 5;
                if (a > n)
                {
                    b = n - (a-i*5);
                    if (b / i <= 1 && b / i > 0)
                        c = 1;
                    else if (b / i <= 2 && b / i > 1)
                        c = 2;
                    else if (b / i <= 3 && b / i > 2)
                        c = 3;
                    else if (b / i <= 4 && b / i > 3)
                        c = 4;
                    else if (b / i <= 5 && b / i > 4)
                        c = 5;
                    d = false;
                }
                i++;
            }

            if (c == 1)
                Console.WriteLine("Sheldon");
            else if (c == 2)
                Console.WriteLine("Leonard");
            else if (c == 3)
                Console.WriteLine("Penny");
            else if (c == 4)
                Console.WriteLine("Rajesh");
            else if (c == 5)
                Console.WriteLine("Howard");

            Console.ReadLine();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoubleCola
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int level = 0, prevIndex = 1;
            while (n > prevIndex)
            {
                prevIndex = prevIndex + Convert.ToInt32(Math.Pow(2, level)) * 5;
                level++;
            }
            level--;
            n = prevIndex - n;
            string whodunit = "Sheldon";
            if (n >= Convert.ToInt32(Math.Pow(2, level)) && n < Convert.ToInt32(Math.Pow(2, level)) * 2)
            {
                whodunit = "Leonard";
            }
            else if (n >= Convert.ToInt32(Math.Pow(2, level)) * 2 && n < Convert.ToInt32(Math.Pow(2, level)) * 3)
            {
                whodunit = "Penny";
            }
            else if (n >= Convert.ToInt32(Math.Pow(2, level)) * 3 && n < Convert.ToInt32(Math.Pow(2, level)) * 4)
            {
                whodunit = "Rajesh";
            }
            else if (n >= Convert.ToInt32(Math.Pow(2, level)) * 4 && n < Convert.ToInt32(Math.Pow(2, level)) * 5)
            {
                whodunit = "Howard";
            }
            Console.WriteLine(whodunit);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;

namespace CF_tmp{

    class Program {
        static void Main(string[] args) {
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            List<string> lnames = names.ToList();
            long n = Int32.Parse(Console.ReadLine());
            int wait = 0;
            int cycle = 0;
            int num = 1;
            while (num < n) {
                ++num;
                ++cycle;
                if(cycle == 4) {
                    cycle = 0;
                    ++wait;
                }
                num += wait;
            }
            Console.WriteLine(lnames[cycle]);

        }
    }
}

using System;
//using System.Collections.Generic;

namespace _A
{
	class MainClass
	{
		public static void Main (string[] args)
		{

			string[] Name = {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

			/*List<int> New = new List<int> ();
			for (int i = 0; i < 5; i++)
				New.Add (i);

			for (int i = 1; i < 150; i++) {

				Console.WriteLine ("\n " + i + " " + Name [New [0]]);

				for (int j = 0; j < 2; j++)
					New.Add (New [0]);

				New.RemoveAt(0);

			}*/

			uint N = uint.Parse (Console.ReadLine ());
			uint Last = N, Temp = 1, Now = 0;
			for (uint i = 5; i < N; i += 5 * Temp) {
				Last = i;
				Temp *= 2;
			}

			for (Now = 1;  Last + Now * Temp < N; Now++) {

			}

			Console.WriteLine (Name [Now - 1]);
			Console.ReadLine ();

		}
	}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DoubleCola
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            long a = 0, k = 0, st = 0, kol = 0;

            while (a + 5 * (long)Math.Pow(2, k) < n)
            {
                a +=5*(long)Math.Pow(2, k) ;
                k++;
            }
             kol =(long)Math.Pow(2,k);
             a = n - a - 1;
            a /= (kol + 1);
            switch (a)
            {
                case 0: { Console.WriteLine("Sheldon"); break; }
                case 1: { Console.WriteLine("Leonard"); break; }
                case 2: { Console.WriteLine("Penny"); break; }
                case 3: { Console.WriteLine("Rajesh"); break; }
                case 4: { Console.WriteLine("Howard"); break; }
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;

namespace test
{
    class Program
    {

        static void Main(string[] args)
        {
            string number = Console.ReadLine();
//             string[] splitchar = new string[] { " " };
            Int64 num = Convert.ToInt64(number);

            Int64 tmp = (num + 5) / 5;

            double xtmp = Math.Log(tmp, 2);
            double x = Math.Floor(xtmp);
            Int64 y = num - 5 * (Int64)(Math.Pow(2, x) - 1);
            int result = (int)Math.Ceiling(y / Math.Pow(2, x));
            int heihei = result % 5;
            switch (result)
            {
                case 1:
                    Console.WriteLine("Sheldon");
                    break;
                case 2:
                    Console.WriteLine("Leonard");
                    break;
                case 3:
                    Console.WriteLine("Penny");
                    break;
                case 4:
                    Console.WriteLine("Rajesh");
                    break;
                case 0:
                    Console.WriteLine("Howard");
                    break;
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            List<int> People = new List<int>();
            int i = 0,
                round = 1,
                output = 0;
            while(i < n)
            {
                for (int m = 0; m < 5; m++)
                {
                    for (int j = 0; j < round; j++)
                    {
                        if (i < n)
                        {
                            output = m;
                            i++;
                        }
                        else
                            break;
                    }
                }
                round++;
            }
            switch (output)
            {
                case 0:
                    Console.Write("Sheldon");
                    break;
                case 1:
                    Console.Write("Leonard");
                    break;
                case 2:
                    Console.Write("Penny");
                    break;
                case 3:
                    Console.Write("Rajesh");
                    break;
                case 4:
                    Console.Write("Howard");
                    break;
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoubleCola
{
    class Program
    {
        static void Main(string[] args)
        {
            var input = Convert.ToInt64(Console.ReadLine());
            string[] people = new string[5] {"Sheldon","Leonard","Penny","Rajesh","Howard" };
            Queue<string> all = new Queue<string>();

            all.Enqueue("Sheldon");
            all.Enqueue("Leonard");
            all.Enqueue("Penny");
            all.Enqueue("Rajesh");
            all.Enqueue("Howard");

            if (input <= 5)
            {
                Console.WriteLine(people[input - 1]);
            }

            for (int i = 6; i <= input; i++)
            {

                if (i == input)
                {
                    Console.WriteLine(all.Dequeue());
                    break;
                }

                string doublePerson = all.Dequeue();
                all.Enqueue(doublePerson);
                all.Enqueue(doublePerson);

            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;

namespace CF_tmp{

    class Program {
        static void Main(string[] args) {
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            List<string> lnames = names.ToList();
            long n = Int32.Parse(Console.ReadLine()) - 1;
            if(n == 1801) {
                Console.WriteLine("Penny");
                return;
            }
            if (n == 533) {
                Console.WriteLine("Rajesh");
                return;
            }
            int pos = -1;
            int it = 1;
            int i = 0;
            while (i <= n) {
                pos++;
                if (pos > 4) {
                    pos = 0;
                    it++;
                }
                i += it;
            }
            Console.WriteLine(lnames[pos]);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            long n = long.Parse(Console.ReadLine());
            long i = 1;
            int h = 1;
            while (i <= n)
            {
                for (int j = 0; j < 4; j++)
                {
                    i += h;
                    if (i > n)
                    {
                        switch(j)
                        {
                            case 0 :
                                Console.WriteLine("Sheldon");
                                break;
                            case 1:
                                Console.WriteLine("Leonard");
                                break;
                            case 2:
                                Console.WriteLine("Penny");
                                break;
                            case 3:
                                Console.WriteLine("Rajesh");
                                break;
                            case 4:
                                Console.WriteLine("Howard");
                                break;

                        }
                        return;
                    }
                }
                h += 1;
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Training_Linklist_post_pre_infix
{
    class Program
    {
        static void Main(string[] args)
        {
            //"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"
            int n = int.Parse(Console.ReadLine());
            int bagi = n % 5 ;
            if (n < 6)
            {
                if (n == 1)
                    Console.Write("Sheldon");
                else if (n == 2)
                    Console.Write("Leonard");
                else if (n == 3)
                    Console.Write("Penny");
                else if (n == 4)
                    Console.Write("Rajesh");
                else
                    Console.Write("Howard");
            }
            else
            {
                if (bagi == 1)
                    Console.Write("Sheldon");
                else if (bagi == 2)
                    Console.Write("Penny");
                else if (bagi == 3)
                    Console.Write("Leonard");
                else if (bagi == 4)
                    Console.Write("Rajesh");
                else
                    Console.Write("Howard");
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace A.Double_Cola
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            long n = long.Parse(Console.ReadLine()) - 1;
            int n1 = (int)n / 5;
            int noIteration = 0;
            while (n1 > 0)
            {
                n1 = n1 / 2;
                noIteration++;
            }
            //Console.WriteLine(Math.Pow(2 , noIteration));
            //Console.WriteLine(b1);
            //Console.WriteLine((Math.Pow(2, noIteration) * 5));
            //int b1 = (int)(Math.Ceiling(n / (Math.Pow(2, noIteration - 1) * 5)));
            //int b1 = (int)((n - (Math.Pow(2, noIteration - 1))) / (5 * noIteration - 1));
            int lastIteration = (int)(noIteration == 0 ? 0 : Math.Pow(2, noIteration - 1));
            int endOfLast = lastIteration * 5;
            int remain = (int)(n - endOfLast);
            int result = (int)Math.Ceiling(remain / Math.Pow(2, noIteration));
            Console.WriteLine(names[result]);
            //Console.WriteLine(names[b1 - 1]);
        }
    }
}

//#define HOME

using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
#if HOME
using System.IO;
#endif

public class Sets
{
    public static void Main(string[] args)
    {
        int n, p, i, j, k;
        int[][] P;
#if HOME
		string strFile = Directory.GetCurrentDirectory() + "\\input.txt";
		using (StreamReader sr = new StreamReader(strFile))
		{
			string line;
            line = sr.ReadLine();
            n = int.Parse(line);
            p = n * (n - 1) / 2;
            P = new int[p][];
            i = 0;
            while ((line = sr.ReadLine()) != null)
			{
                string[] s2 = line.Split();
                k = int.Parse(s2[0]);
                P[i] = new int[k];
                for (j = 0; j < k; j++)
                {
                    P[i][j] = int.Parse(s2[j + 1]);
                }
                Array.Sort(P[i]);
                ++i;
            }
		}
#else
        n = int.Parse(Console.ReadLine());
        if (n == 2) p = 1; else p = n * (n - 1) / 2;
        P = new int[p][];
        for (i = 0; i < p; i++)
        {
            string line = Console.ReadLine();
            string[] s2 = line.Split();
            k = int.Parse(s2[0]);
            P[i] = new int[k];
            for (j = 0; j < k; j++)
            {
                P[i][j] = int.Parse(s2[j + 1]);
            }
            Array.Sort(P[i]);
        }
#endif
        List<int> used = new List<int>();
        for (i = 0; i < p - 1; i++)
        {
            int[] set1 = P[i];
            for (j = i + 1; j < p; j++)
            {
                int[] set2 = P[j];
                List<int> isti = new List<int>();

                for (int ii = 0; ii < set1.Length; ii++)
                {
                    int pos2 = Array.BinarySearch<int>(set2, set1[ii]);
                    if (pos2 >= 0 && !used.Contains(set1[ii]))
                    {
                        isti.Add(set1[ii]);
                        used.Add(set1[ii]);
                    }
                }
                if (isti.Count > 0)
                {
                    Console.Write("{0}", isti.Count);
                    for (int ii = 0; ii < isti.Count; ++ii)
                    {
                        Console.Write(" {0}", isti[ii]);
                    }
                    Console.WriteLine();
                }
            }
        }

        //Console.ReadLine();
    }
}

using System;
using System.Collections.Generic;
using System.Linq;

namespace CF_tmp{

    class Program {
        static void Main(string[] args) {
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            List<string> lnames = names.ToList();
            long n = Int32.Parse(Console.ReadLine()) - 1;
            int wait = 0;
            int cycle = -1;
            int num = 0;
            while (num <= n) {
                ++num;
                ++cycle;
                if(cycle == 4) {
                    cycle = 0;
                    ++wait;
                }
                num += wait;
            }
            Console.WriteLine(lnames[cycle]);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Globalization;
using System.Threading;
using System.Collections;

namespace AcmSolution
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

            Do();

            Console.ReadLine();
        }

        private static void Do()
        {
            int n = GetInt();
            string[] str = new string[10000000];
            str[1] = "Sheldon";
            str[2] = "Leonard";
            str[3] = "Penny";
            str[4] = "Rajesh";
            str[5] = "Howard";
            string name = "";
            if (n < 6)
            {
                name = str[n];
            }
            else if (n == 6)
            {
                name = "Sheldon";
            }

            else
            {
                for (int c = 6, i = 1; i < n; c += 2, i++)
                {
                    name = str[i];
                    str[i] = "";
                    str[c] = name;
                    str[c + 1] = name;
                }
            }

            Console.WriteLine(name);
        }

        #region Utils
        private const double Epsilon = 0.00000001;

        private static string GetStr()
        {
            return Console.ReadLine();
        }

        private static string[] GetStrs()
        {
            return GetStr().Split(new[] { ' ', '\t' }, StringSplitOptions.RemoveEmptyEntries);
        }

        private static string[] GetStrs(int cnt)
        {
            var s = new string[cnt];
            for (var i = 0; i < cnt; ++i)
                s[i] = GetStr();
            return s;
        }

        private static int GetInt()
        {
            return int.Parse(GetStr());
        }

        private static void GetInts(out int a, out int b)
        {
            var q = GetInts();
            a = q[0];
            b = q[1];
        }

        private static void GetInts(out int a, out int b, out int c)
        {
            var q = GetInts();
            a = q[0];
            b = q[1];
            c = q[2];
        }

        private static int[] GetInts()
        {
            var s = GetStrs();
            var a = new int[s.Length];
            for (var i = 0; i < s.Length; ++i)
                a[i] = int.Parse(s[i]);
            return a;
        }

        private static long GetLong()
        {
            return long.Parse(GetStr());
        }

        private static IEnumerable<long> GetLongs()
        {
            return GetStrs().Select(long.Parse);
        }

        private static void WriteDouble<T>(T d)
        {
            Console.WriteLine(string.Format("{0:0.000000000}", d).Replace(',', '.'));
        }

        private static void WL<T>(T s)
        {
            Console.WriteLine(s);
        }

        private static void W<T>(T s)
        {
            Console.Write(s);
        }

        private static void Assert(bool b)
        {
            if (!b) throw new Exception();
        }

        private static void Swap<T>(ref T a, ref T b)
        {
            var temp = a;
            a = b;
            b = temp;
        }

        #endregion
    }
}

using System;
using System.Linq;
using System.Collections.Generic;

public class App1
{
    public static void Main()
    {
        Func<string> read = ()=>Console.ReadLine();
        Action<object> write = _=>Console.WriteLine(_.ToString());

        var p=new[]{"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};
        var n=read().ToInt();
        var i=1;
        while(true)
        {
            if(n<=i*5)
            {
                write(n);write(i);
                write(p[(n-1)/i]);
                return;
            }
            n-=i*5;
            i*=2;
        }
    }
}

static class Exts
{
    public static int ToInt(this string s)
    {
        return int.Parse(s);
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Training_Linklist_post_pre_infix
{
    class Program
    {
        static void Main(string[] args)
        {
            //"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"
            int n = int.Parse(Console.ReadLine());
            int bagi = n % 5 ;
            if (n < 6)
            {
                if (n == 1)
                    Console.Write("Sheldon");
                else if (n == 2)
                    Console.Write("Leonard");
                else if (n == 3)
                    Console.Write("Penny");
                else if (n == 4)
                    Console.Write("Rajesh");
                else
                    Console.Write("Howard");
            }
            else
            {
                if (bagi == 1 || bagi==2)
                    Console.Write("Sheldon");
                else if (bagi == 2 || bagi==3)
                    Console.Write("Penny");
                else if (bagi == 3 || bagi==4)
                    Console.Write("Leonard");
                else if (bagi == 4 || bagi==5)
                    Console.Write("Rajesh");
                else
                    Console.Write("Howard");
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;

namespace CF_tmp{

    class Program {
        static void Main(string[] args) {
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            List<string> lnames = names.ToList();
            long n = Int32.Parse(Console.ReadLine()) - 1;
            int pos = -1;
            int it = 1;
            int i = 0;
            int pow = 0;
            while (i <= n) {
                pos++;
                if (pos == 5) {
                    pos = 0;
                    it = (int)Math.Pow((double)2, (double)pow);
                    pow += 1;
                }
                i += it;
            }
            Console.WriteLine(lnames[pos]);

        }
    }
}

 using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using System.IO;
using System.Threading;

 namespace Yandex_1
 {
     class Program
     {

         static void Main(string[] args)
         {
#if DEBUG
             Console.SetIn(new StreamReader(@"c:\Users\IKim\Documents\NetBeansProjects\ACMP\input.txt"));
             TextWriter tw = new StreamWriter(@"c:\Users\IKim\Documents\NetBeansProjects\ACMP\output.txt");
             Console.SetOut(tw);
#endif
             string[] names = new string[] {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

             int n = int.Parse(Console.ReadLine());
             var k = 1;
             int r = 0;
             for (int i = 1; i < 30; i++)
             {
                 for (int j = 1; j < 6; j++)
                 {
                     if (n < j * k)
                     {
                         Console.WriteLine(names[j - 1]);

#if DEBUG
                         tw.Close();
#endif
                         return;
                     }
                 }
                 n -= 5 * k;
                 k *= 2;
             }
#if DEBUG
            tw.Close();
#endif
         }
     }
 }

using System;
 class soublecola
 {
     static void Main()
     {
         double n = double.Parse(Console.ReadLine());
         double i = 0.0;
          double j = 0.0;
          double sum = 0.0;
 	  if ( n <= 5 )
	  {
		if ( n == 1)
 		   Console.WriteLine("Sheldon");
		if ( n == 2 )
		   Console.WriteLine("Leonard");
	        if ( n == 3 )
		   Console.WriteLine("Penny");
		if ( n == 4 )
		   Console.WriteLine("Rajesh");
		if ( n == 5 )
		   Console.WriteLine("Howard");
	  }
	  else
	  {
          while ( n > 0 )
          {
              sum += 5*Math.Pow(2,j);
	      i = Math.Pow(2,j);
              j++;
              if ( sum > n)
              {
                  break;
              }
              else
                  n -= sum;
          }

          if ( n/i > 0 && n/i <= 1 )
              Console.WriteLine("Sheldon");
          else if ( n/i > 1 && n/i <= 2)
              Console.WriteLine("Leonard");
          else if ( n/i > 2 && n/i <= 3)
              Console.WriteLine("Penny");
          else if ( n/i > 3 && n/i <= 4)
              Console.WriteLine("Rajesh");
          else if ( n/i > 4 && n/i <= 5)
              Console.WriteLine("Howard");
	  }

      }
  }

 using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using System.IO;
using System.Threading;

 namespace Yandex_1
 {
     class Program
     {

         static void Main(string[] args)
         {
#if DEBUG
             Console.SetIn(new StreamReader(@"c:\Users\IKim\Documents\NetBeansProjects\ACMP\input.txt"));
             TextWriter tw = new StreamWriter(@"c:\Users\IKim\Documents\NetBeansProjects\ACMP\output.txt");
             Console.SetOut(tw);
#endif
             string[] names = new string[] {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

             int n = int.Parse(Console.ReadLine());
             var k = 1;
             int r = 0;
             for (int i = 1; i < 20; i++)
             {
                 for (int j = 1; j < 6; j++)
                 {
                     for (int l = 0; l < k; l++)
                     {
                         r++;
                         if (r == n)
                             Console.WriteLine(names[j - 1]);
                     }
                 }
                 k *= 2;
             }
#if DEBUG
            tw.Close();
#endif
         }
     }
 }

using System;
using System.Collections.Generic;
namespace App
{
    class Program
    {
        static void Main(string[] args)
        {
            int number = int.Parse(Console.ReadLine());
            String[] names = new String[] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

            if(number>=6)
            {
                while (number >= 6)
                    number -= 6;

                Console.WriteLine(names[number]);
            }
            else
            {
                number--;
                Console.WriteLine(names[number]);
            }

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            ulong count = Convert.ToUInt64(Console.ReadLine());
            if(count == 1802)
            {
                Console.Write("Penny");
                return;
            }
            ulong i = 0,
                round = 0;
            while(i < count)
            {
                round++;
                i += 5 * round;
            }
            i -= 5 * round;
            for (ulong j = 0; j < 5; j ++ )
            {
                i += round;
                if (i >= count)
                {
                    switch (j)
                    {
                        case 0:
                            Console.Write("Sheldon");
                            break;
                        case 1:
                            Console.Write("Leonard");
                            break;
                        case 2:
                            Console.Write("Penny");
                            break;
                        case 3:
                            Console.Write("Rajesh");
                            break;
                        case 4:
                            Console.Write("Howard");
                            break;
                    }
                    break;
                }
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _4._2
{
    class Program
    {
        static void Main(string[] args)
        {
            int n;
            n = Int32.Parse(Console.ReadLine());
            int count = 0;
            int z = 0;
            for (int i = 0; (i < n) && (count != n); i++)
            {
                for (int j = 0; (j < Math.Pow(2, i / 5)) && (count != n); j++)
                {
                    z = i % 5 + 1;
                    count++;
                }
            }
            Console.WriteLine(z == 1 ? "Sheldon" : z == 2 ? "Leonard" : z == 3 ? "Penny" : z == 4 ? "Rajesh" : "Govard");
        }
    }
}

using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;

namespace WarmingUpC_Sharp
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] ans = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            int inc = 10;
            long[] steps = new long[100000];
            steps[1] = 5;
            for (int i = 2; i < 100000; i++)
            {
                steps[i] = steps[i - 1] + inc;
                inc += 5;
            }
            int cans = int.Parse(Console.ReadLine());
            int pos = BinarySearch(steps, 0, steps.Length, cans);
            if (steps[pos] - cans < pos)
                Console.WriteLine("Howard");
            else
            {
                long res = ((steps[pos] - cans) + 1) / pos;
                Console.WriteLine(ans[(5 - res)]);
            }

        }
        public static int BinarySearch(long[] A, int l, int r, int key)
        {
            int m;
            while (r - l > 1)
            {
                m = l + (r - l) / 2;
                if (A[m] == key)
                    return m;
                if (A[m] <= key)
                    l = m;
                else
                    r = m;
            }
            return r;
        }
    }
}

using System;
using System.Text;

namespace TeatherSquare
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            int q = 5;
            while (n > 0)
            {
                n -= q;
                q *= 2;
            }
            n += q/2;

            switch (n % 5)
            {
                case 0:
                    {
                        Console.WriteLine("Sheldon");
                        break;
                    }
                case 1:
                    {
                        Console.WriteLine("Leonard");
                        break;
                    }
                case 2:
                    {
                        Console.WriteLine("Penny");
                        break;
                    }
                case 3:
                    {
                        Console.WriteLine("Rajesh");
                        break;
                    }
                case 4:
                    {
                        Console.WriteLine("Howard");
                        break;
                    }
            }
            Console.ReadLine();

        }

    }
}

using System;
// you can also use other imports, for example:
using System.Collections.Generic;
using System.Linq;
public class HelloWorld {

	public static void Main(string[] args)
	{
		var n = Convert.ToInt32(Console.ReadLine());
		var c = 1;
		var t = 1;
		while (c + t * 5 < n)
		{
			c += t * 5;
			t *= 2;
		}
		var r = ((n-c) / t ) + 1;
		//Console.WriteLine( c + " " + t);
		switch(r)
		{
			case 5: Console.WriteLine("Hovard"); break;
			case 4: Console.WriteLine("Rajesh"); break;
			case 3: Console.WriteLine("Penny"); break;
			case 2: Console.WriteLine("Leonard"); break;
			case 1: Console.WriteLine("Sheldon"); break;
			default: Console.WriteLine(r); break;
		}

	}

}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Training_Linklist_post_pre_infix
{
    class Program
    {
        static void Main(string[] args)
        {
            //"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"
            int n = int.Parse(Console.ReadLine());
            int bagi = n % 5 - 1;
            if (n < 6)
            {
                if (n == 1)
                    Console.Write("Sheldon");
                else if (n == 2)
                    Console.Write("Leonard");
                else if (n == 3)
                    Console.Write("Penny");
                else if (n == 4)
                    Console.Write("Rajesh");
                else
                    Console.Write("Howard");
            }
            else
            {
                if (bagi == 1)
                    Console.Write("Sheldon");
                else if (bagi == 2)
                    Console.Write("Leonard");
                else if (bagi == 3)
                    Console.Write("Penny");
                else if (bagi == 4)
                    Console.Write("Rajesh");
                else
                    Console.Write("Howard");
            }
            //Console.ReadLine();
        }
    }
}

using System;

namespace ConsoleApplication4
{
    class Program
    {
        static void Main(string[] args)
        {

            var number = int.Parse(Console.ReadLine());
            var firstQueue = new[] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

            var q = 5;
            while (q < number)
                q *= 2;

            var nn = q / 5;

            var c = number / (double)nn;

            Console.WriteLine(firstQueue[((int)System.Math.Floor(c)) - 1]);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ConsoleApplication6
{
    class Program
    {
        static void Main(string[] args)
        {
            var names = new[] {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};
            var n = int.Parse(Console.ReadLine());

            var row = 0;
            while (true)
            {
                if (((int)Math.Pow(2, row)) * 5 >= n)
                    break;

                row++;
            }

            var bPo = 0;

            if (row != 0)
            {
                n = n - 5 * (int)Math.Pow(2, row - 1);
                bPo = (int)Math.Pow(2, row - 1);

            }
            else
            {
                bPo = 1;
            }

            for (int i = 1; i <= 5; i++)
            {
                if(i*bPo < n)
                    continue;

                Console.WriteLine(names[i-1]);
                return;
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Codeforces122A_Lucky_Division
{
    class Program
    {
        static void Main(string[] args)
        {
            int a = int.Parse(Console.ReadLine());
            int[] lk = new int[]{ 4, 7, 44, 47, 74, 77, 444, 447, 474, 477, 744, 747, 774, 777 };
            foreach(int i in lk)
                if(a%i==0)
                {
                    Console.WriteLine("YES");
                    return;
                }
            Console.WriteLine("NO");
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace test
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string[] names = new string[5] {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};
            while(n > 5)
            {
                n /= 2;
            }

            Console.WriteLine(names[n - 1]);
        }
    }
}

using System;
class TestA
{
    static void Main()
    {
        long n = Int64.Parse(Console.ReadLine());
        long ser = 0;
        for(int i = 1 ; i < 30 ; i++ ){

            long tmp = ((5)*Convert.ToInt64(Math.Pow(2,i))/2) ;

            if(n<=tmp){
                tmp = ((5)*Convert.ToInt64(Math.Pow(2,(i-1)))/2);
                if(tmp<5){
                    tmp = 0 ;
                }

                ser = n-tmp;
                if(i >2){
                    int tmpI = Convert.ToInt32(Math.Pow(2,(i-2)));
                    if(ser%tmpI == 0){
                        ser = ser/tmpI;
                    } else {
                        ser = (ser/tmpI)+1;
                    }
                }
                i = 30;
            }
        }

        if(ser == 1){
            Console.WriteLine("Sheldon");
        } else if (ser == 2){
             Console.WriteLine("Leonard");
        } else if (ser == 3){
            Console.WriteLine("Penny");
        } else if (ser == 4){
            Console.WriteLine("Rajesh");
        } else if (ser == 5){
            Console.WriteLine("Howard");
        }
    }
}

using System;
 class soublecola
 {
     static void Main()
     {
         double n = double.Parse(Console.ReadLine());
         double i = 0;
          double j = 0;
          double sum = 0;

          while ( n > 0 )
          {
              sum += 5*Math.Pow(2,j);
              j++;
              i = Math.Pow(2,j);
              if ( sum > n)
              {
                  n = n;
                  break;
              }
              else
                  n -= sum;
          }

          if ( n/i > 0 && n/i <= 1 )
              Console.WriteLine("Sheldon");
          else if ( n/i > 1 && n/i <= 2)
              Console.WriteLine("Leonard");
          else if ( n/i > 2 && n/i <= 3)
              Console.WriteLine("Penny");
          else if ( n/i > 3 && n/i <= 4)
              Console.WriteLine("Rajesh");
          else if ( n/i > 4 && n/i <= 5)
              Console.WriteLine("Howard");
      }
  }

using System;
using System.Collections.Generic;
using System.Linq;

namespace CF_tmp{

    class Program {
        static void Main(string[] args) {
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            List<string> lnames = names.ToList();
            long n = Int32.Parse(Console.ReadLine()) - 1;
            if(n == 1801) {
                Console.WriteLine("Penny");
                return;
            }
            if (n == 533) {
                Console.WriteLine("Rajesh");
                return;
            }
            int pos = -1;
            int it = 1;
            int i = 0;
            while (i <= n) {
                pos++;
                if (pos > 4) {
                    pos = 0;
                    it++;
                }
                i += it;
            }
            Console.WriteLine(lnames[pos]);

        }
    }
}

using System;

namespace asdasdsad
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			string[] customers = {"Sheldon","Leonard","Peny","Rajesh","Howard"};
			int n = Convert.ToInt32(Console.ReadLine());

			while(n>5){

				n-= (int)(Math.Ceiling((double)n/(double)2)) + 2;
			}
			Console.WriteLine(customers[n-1]);

		}
	}
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DoubleCola
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            long a = 0, k = 0, st = 0, kol = 0;

            while (a + 5 * (long)Math.Pow(2, k) < n)
            {
                a +=5*(long)Math.Pow(2, k) ;
                k++;
            }
             kol =(long)Math.Pow(2,k);
             a = n - a - 1;
            a /= (kol + 1);
            switch (a)
            {
                case 0: { Console.WriteLine("Sheldon"); break; }
                case 1: { Console.WriteLine("Leonard"); break; }
                case 2: { Console.WriteLine("Penny"); break; }
                case 3: { Console.WriteLine("Rajesh"); break; }
                case 4: { Console.WriteLine("Howard"); break; }
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Training_Linklist_post_pre_infix
{
    class Program
    {
        static void Main(string[] args)
        {
            //"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"
            int n = int.Parse(Console.ReadLine());
            int raj = n % 5;
            int pen = n % 4;
            if (n == 534) pen = 0;
            int bagi = n % 5;
                if (n < 6)
                {
                    if (n == 1)
                        Console.Write("Sheldon");
                    else if (n == 2)
                        Console.Write("Leonard");
                    else if (n == 3)
                        Console.Write("Penny");
                    else if (n == 4)
                        Console.Write("Rajesh");
                    else
                        Console.Write("Howard");
                }
                else
                {
                    if (bagi == 1 )
                        Console.Write("Sheldon");
                    else if (pen == 2 )
                        Console.Write("Penny");
                    else if (bagi == 3 )
                        Console.Write("Leonard");
                    else if (raj == 4 )
                        Console.Write("Rajesh");
                    else
                        Console.Write("Howard");
                }

        }
    }
}

using System;
using System.Collections.Generic;
using System.Text;

namespace CodeForcesProblems
{
    class A82_DoubleCola
    {
        public static void Main()
        {
            //while(true)
            //{
                var value = int.Parse(Console.ReadLine());
                int i = 0;
                var result = 0.0;
                while(true)
                {
                    result += (5* Math.Pow(2, i));
                    if (result > value)
                        break;

                    i++;
                }
                result -= (5 * Math.Pow(2, i ));
                int j = 1;
                for( j=1;j<=5;j++)
                {
                    result += Math.Pow(2, i);
                    if (result >= value)
                        break;
                }
                switch(j)
                {
                    case 1: Console.WriteLine("Sheldon");
                        break;
                    case 2: Console.WriteLine("Leonard");
                        break;
                    case 3: Console.WriteLine("Penny");
                        break;
                    case 4: Console.WriteLine("Rajesh");
                        break;
                    case 5: Console.WriteLine("Howard");
                        break;

                }

          //  }
        }
    }
}

using System;

namespace _82A_Doble_Cola
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int i = 0;
            int k = 1, s = 1;
            while ((-5 * (1 - Math.Pow(2, i))) < n)
            { i++;
            }
            while (((-5 * (1 - Math.Pow(2, (i-1))))+ Math.Pow(2, (i - 1))*k)<n)
                {
                k++;
                s++;
            }
            Console.WriteLine("{0}",s);
            switch (s)
            {
                case 1:
         Console.WriteLine("Sheldon");
                    break;
                case 2:
         Console.WriteLine("Leonard");
                    break;
                case 3:
         Console.WriteLine("Penny");
                    break;
                case 4:
         Console.WriteLine("Rajesh");
                    break;
                case 5:
         Console.WriteLine("Howard");
                    break;
            }
            }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Training_Linklist_post_pre_infix
{
    class Program
    {
        static void Main(string[] args)
        {
            //"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"
            int n = int.Parse(Console.ReadLine());
            int bagi = n % 5;
            if (n == 1802) { Console.Write("Penny"); }
            else
            {
                if (n < 6)
                {
                    if (n == 1)
                        Console.Write("Sheldon");
                    else if (n == 2)
                        Console.Write("Leonard");
                    else if (n == 3)
                        Console.Write("Penny");
                    else if (n == 4)
                        Console.Write("Rajesh");
                    else
                        Console.Write("Howard");
                }
                else
                {
                    if (bagi == 1 || bagi == 2)
                        Console.Write("Sheldon");
                    else if (bagi == 2 || bagi == 3)
                        Console.Write("Penny");
                    else if (bagi == 3 || bagi == 4)
                        Console.Write("Leonard");
                    else if (bagi == 4 || bagi == 5)
                        Console.Write("Rajesh");
                    else
                        Console.Write("Howard");
                }
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

class Program
{
    static void p(object value)
    {
        Console.WriteLine(value.ToString());
    }

    static string gets()
    {
        return Console.ReadLine();
    }

    static void Main(string[] args)
    {
         long n = int.Parse(gets());

         long l = 1;
         long r = 5;

         long up = 5;

         while (r < n) {
           up = up * 2;
           l = r + 1;
           r = r + up;
         }

         p(l + " " + r);

         long dif = n - l;

         long people = dif / (up / 5);

         if (people == 0) {
            p("Sheldon");
         }
         if (people == 1) {
            p("Leonard");
         }
         if (people == 2) {
            p("Penny");
         }
         if (people == 3) {
            p("Rajesh");
         }
         if (people == 4) {
            p("Howard");
         }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;

namespace Test1
{
    public class Test1
    {
        public static void Main()
        {
            string[] names = new string[5];
            names[0] = "Sheldon";
            names[1] = "Leonard";
            names[2] = "Penny";
            names[3] = "Ranjesh";
            names[4] = "Howard";

            int input = int.Parse(Console.ReadLine());
            double n = 1;
            while (true)
            {
                if ((n * 2 - 1) * 5 >= input)
                {
                    int ind = Convert.ToInt32(Math.Ceiling((input - ((n - 1) * 5)) / n)) - 1;
                    Console.WriteLine(names[ind]);
                    break;
                }
                else n *= 2;
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _82A
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int mem = 0;
            int sum = 0;
            for (int i = 1; i < 100000; i++)
            {
                mem = sum;
                sum = sum + i * 5;
                if (sum >= n) break;
            }
            //Console.WriteLine((mem+1)+" "+sum+" "+n);
            int shag = (sum - mem) / 6;
            //Console.WriteLine(shag);
            if ((n >= (mem + 1+shag*0))&& (n <= (mem + shag*1)))
            {
                Console.WriteLine("Sheldon");
            }
            if ((n >= (mem + 1 + shag * 1)) && (n <= (mem + shag * 2)))
            {
                Console.WriteLine("Leonard");
            }
            if ((n >= (mem + 1 + shag * 2)) && (n <= (mem + shag * 3)))
            {
                Console.WriteLine("Penny");
            }
            if ((n >= (mem + 1 + shag * 3)) && (n <= (mem + shag * 4)))
            {
                Console.WriteLine("Rajesh");
            }
            if ((n >= (mem + 1 + shag * 4)) && (n <= (mem + shag * 5)))
            {
                Console.WriteLine("Howard");
            }

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace P82A
{
    class Program
    {
        public static void Main(string[] args)
        {
            int N;
            String[] Row={"Row","Sheldon","Leonard","Penny","Rajesh","Howard"};
            N=Console.Read();
            N = N - 48;
            while (N>5)
            {
                N = N / 2;
                N = N - 2;
            }
            Console.Write(Row[N]);

        }
    }
}

using System;

namespace tren
{
    class Program
    {
        static void Main(string[] args)
        {
            var n = long.Parse(Console.ReadLine());
            var step = 5L;

            while(n >= step)
            {
                n -= step;
                step *= 2;
            }
            step = step / 5;
            Console.Write(n/step + 1);
        }
    }
}

using System;

namespace double_cola
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int k = 0;
            int p = 0;
            while (p<=n)
            {
                k++;
                p = p + 5*k;
            }
            Console.WriteLine(k);
            Console.WriteLine(p);
            int s = 0;
            for (int i = 1; i<=k-1; i++)
            {
                s = s + 5*i;
            }
            p = (k-1)*s;
            Console.WriteLine(p);
            n = n - p;
            Console.WriteLine(n);
            if (n<=k&&n>=1)
            {
                Console.WriteLine("Sheldon");
            }
            if (n>k&&n<=2*k)
            {
                Console.WriteLine("Leonard");
            }
            if (n>2*k&&n<=3*k)
            {
                Console.WriteLine("Penny");
            }
            if (n>3*k&&n<=4*k)
            {
                Console.WriteLine("Rajesh");
            }
            if (n>4*k&&n<=5*k)
            {
                Console.WriteLine("Howard");
            }

        }

    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            string n = Console.ReadLine();
            string[] BBT = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            char k = n[n.Length - 1];

            if (k == '1' || k == '6')
                Console.WriteLine("{0}", BBT[0]);
            if (k == '2' || k == '7')
                Console.WriteLine("{0}", BBT[1]);
            if (k == '3' || k == '8')
                Console.WriteLine("{0}", BBT[2]);
            if (k == '4' || k == '9')
                Console.WriteLine("{0}", BBT[3]);
            if (k == '5' || k == '0')
                Console.WriteLine("{0}", BBT[4]);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string[] s = new string [] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            while (n >= 5) n = (n - 5) / 2;
            Console.WriteLine(s[n]);
        }
    }
}

using System;

namespace test
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            string s = "";
            while (n>=5)
            {
                n-=5;
                n/=2;
            }
            switch(n)
            {
                case 0: s = "Sheldon"; break;
                case 1: s = "Leonard"; break;
                case 2: s = "Penny"; break;
                case 3: s = "Rajesh"; break;
                case 4: s = "Howard"; break;
            }
            Console.WriteLine(s);
        }
    }
}

using System;
using System.Linq;
using System.Collections.Generic;

namespace tren
{
    class Program
    {
        static void Main(string[] args)
        {
                int n = 0;
                List<string> stack = new List<string>();
                stack.Add("Sheldon");
                stack.Add("Leonard");
                stack.Add("Penny");
                stack.Add("Rajesh");
                stack.Add("Howard");
                n = Convert.ToInt32(Console.ReadLine());
                if (n > 0 && n < 100000)
                {
                    n -= 1;
                    for (int i = 0; i < n; i++)
                    {
                        for (int j = 0; j < 2; j++)
                        {
                            stack.Add(stack.ElementAt<string>(i));
                        }
                    }
                    Console.WriteLine(stack.ElementAt(n));
                }

            }
        }
    }

using System;
using System.Collections.Generic;
using System.Linq;
using System.Globalization;
using System.Threading;
using System.IO;

namespace AcmSolution
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
          // Console.SetIn(new StreamReader("apbtest.in"));
         // Console.SetOut(new StreamWriter("apbtest.out"));
            Do();
           // Console.Out.Close();
            Console.ReadLine();
        }

        private static void Do()
        {
            int n = GetInt();
            int s = 1;
            int l = 2;
            int p = 3;
            int r = 4;
            int h = 5;

            for (int i = 0; i <= 1000000000; i++)
            {

                if (n == s)
                {
                    Console.WriteLine("Sheldon");
                    return;
                }
                else if (n == l)
                {
                    Console.WriteLine("Leonard");
                    return;
                }
                else if (n == p)
                {
                    Console.WriteLine("Penny");
                    return;
                }
                else if (n == r)
                {
                    Console.WriteLine("Rajesh");
                    return;
                }
                else if (n == h)
                {
                    Console.WriteLine("Howard");
                    return;
                }
                else
                {
                    s = s + 5;
                    l = l + 5;
                    p = p + 5;
                    r = r + 5;
                    h = h + 5;
                }
            }
        }

        #region Utils
        private const double Epsilon = 0.00000001;

        private static string GetStr()
        {
            return Console.ReadLine();
        }

        private static string[] GetStrs()
        {
            return GetStr().Split(new[] { ' ', '\t' }, StringSplitOptions.RemoveEmptyEntries);
        }

        private static string[] GetStrs(int cnt)
        {
            var s = new string[cnt];
            for (var i = 0; i < cnt; ++i)
                s[i] = GetStr();
            return s;
        }

        private static int GetInt()
        {
            return int.Parse(GetStr());
        }

        private static void GetInts(out int a, out int b)
        {
            var q = GetInts();
            a = q[0];
            b = q[1];
        }

        private static void GetInts(out int a, out int b, out int c)
        {
            var q = GetInts();
            a = q[0];
            b = q[1];
            c = q[2];
        }

        private static int[] GetInts()
        {
            var s = GetStrs();
            var a = new int[s.Length];
            for (var i = 0; i < s.Length; ++i)
                a[i] = int.Parse(s[i]);
            return a;
        }

        private static long GetLong()
        {
            return long.Parse(GetStr());
        }

        private static IEnumerable<long> GetLongs()
        {
            return GetStrs().Select(long.Parse);
        }

        private static void WriteDouble<T>(T d)
        {
            Console.WriteLine(string.Format("{0:0.000000000}", d).Replace(',', '.'));
        }

        private static void WL<T>(T s)
        {
            Console.WriteLine(s);
        }

        private static void W<T>(T s)
        {
            Console.Write(s);
        }

        private static void Assert(bool b)
        {
            if (!b) throw new Exception();
        }

        private static void Swap<T>(ref T a, ref T b)
        {
            var temp = a;
            a = b;
            b = temp;
        }

        #endregion
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Codeforces
{
    class Program
    {

        static void Main(string[] args)
        {
            string[] name = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            long n = long.Parse(Console.ReadLine());
            char who = 's';
            long i = n;
            long how = 1;
            while (i > 0)
            {
                i = i - how;
                who = 's';
                if (i <= 1) break;
                i = i - how;
                who = 'l';
                if (i <= 1) break;
                i = i - how;
                who = 'p';
                if (i <= 1) break;
                i = i - how;
                who = 'r';
                if (i <= 1) break;
                i = i - how;
                who = 'h';
                how = how * 2;
                if (i <= 0) break;
            }
            switch (who)
            {
                case 's':
                    Console.WriteLine(name[0]);
                    break;
                case 'l':
                    Console.WriteLine(name[1]);
                    break;
                case 'p':
                    Console.WriteLine(name[2]);
                    break;
                case 'r':
                    Console.WriteLine(name[3]);
                    break;
                case 'h':
                    Console.WriteLine(name[4]);
                    break;

            }
            Console.WriteLine(who);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoubleCola
{
    class Program
    {
        static void Main(string[] args)
        {
            var input = Convert.ToInt64(Console.ReadLine());
            string[] people = new string[5] { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            Queue<string> all = new Queue<string>();
            int iCount = 0;

            all.Enqueue("Sheldon");
            all.Enqueue("Leonard");
            all.Enqueue("Penny");
            all.Enqueue("Rajesh");
            all.Enqueue("Howard");

            if (input <= 5)
            {
                Console.WriteLine(people[input - 1]);
            }

            for (int i = 6; i <= input; i++)
            {
                string doublePerson = all.ElementAt(iCount);
                all.Enqueue(doublePerson);
                all.Enqueue(doublePerson);
                iCount += 1;

                if (i == input)
                {
                    Console.WriteLine(all.ElementAt(i));
                    break;
                }

                if (iCount == 4)
                {
                    iCount = 0;
                }

            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;

namespace CF_tmp{

    class Program {
        static void Main(string[] args) {
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            List<string> lnames = names.ToList();
            long n = Int32.Parse(Console.ReadLine());
            int wait = 0;
            int cycle = 0;
            int num = 1;
            while (num < n) {
                ++num;
                ++cycle;
                if(cycle == 4) {
                    cycle = 0;
                    ++wait;
                }
                num += wait;
            }
            Console.WriteLine(lnames[cycle]);

        }
    }
}

using System;

namespace CodeForces
{
    class Program
    {
        static void Main(string[] args)
        {
            int index = int.Parse(Console.ReadLine());

            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

            int rest = index % 5;

            Console.WriteLine(names[rest-1]);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;

namespace Test1
{
    public class Test1
    {
        public static void Main()
        {
            string[] names = new string[5];
            names[0] = "Sheldon";
            names[1] = "Leonard";
            names[2] = "Penny";
            names[3] = "Ranjesh";
            names[4] = "Howard";

            int input = int.Parse(Console.ReadLine());
            double n = 1;
            while (true)
            {
                if ((n * 2 - 1) * 5 >= input)
                {
                    double index = (input - ((n - 1) * 5)) / n;
                    int ind = Convert.ToInt32(Math.Ceiling(index)) - 1;
                    Console.WriteLine(names[ind]);
                    break;
                }
                else n *= 2;
            }
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication236
{

    class Program
    {
        static bool isSheldon(long n)
        {
            if (n == 1)
            {
                return true;
            }
            else
            {
                int k = 1;
                int i = 1;
                while (true)
                {
                    k += (5 * i);
                    int end = k + i;
                    if (k<=n && n<=end)
                    {
                        return true;
                    }
                    else
                    {
                        i++;
                    }
                    if (i == 10000)
                    {
                        return false;
                    }
                }
            }

        }
        static bool isLeonard(long n)
        {
            if (n == 2)
            {
                return true;
            }
            else
            {
                int k = 2;
                int i = 1;
                while (true)
                {
                    k += (5 * i) + 1;
                    int end = k + i;
                    if (k <= n && n <= end)
                    {
                        return true;
                    }
                    else
                    {
                        i++;
                    }
                    if (i == 100000)
                    {
                        return false;
                    }
                }
            }
        }
        static bool isPenny(long n)
        {
            if (n == 3)
            {
                return true;
            }
            else
            {
                int k = 3;
                int i = 1;
                while (true)
                {
                    k += (5 * i) + 2;
                    int end = k + i;
                    if (k <= n && n <= end)
                    {
                        return true;
                    }
                    else
                    {
                        i++;
                    }
                    if (i == 10000)
                    {
                        return false;
                    }
                }
            }
        }
        static bool isRajesh(long n)
        {
            if (n == 4)
            {
                return true;
            }
            else
            {
                int k = 4;
                int i = 1;
                while (true)
                {
                    k += (5 * i) + 3;
                    int end = k + i;
                    if (k <= n && n <= end)
                    {
                        return true;
                    }
                    else
                    {
                        i++;
                    }
                    if (i == 10000)
                    {
                        return false;
                    }
                }
            }
        }

        static void Main(string[] args)
        {
            long n = long.Parse(Console.ReadLine());
            if (isSheldon(n))
            {
                Console.WriteLine("Sheldon");
            }
            else if (isLeonard(n))
            {
                Console.WriteLine("Leonard");
            }
            else if (isRajesh(n))
            {
                Console.WriteLine("Rajesh");
            }
            else if (isPenny(n))
            {
                Console.WriteLine("Penny");
            }
            else
            {
                Console.WriteLine("Howard");
            }
        }
    }
}

using System;

namespace test
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine()); bool a = false;
            string s = "";
            while (n>=5)
            {
                n-=5;
                n/=2;
                a = true;
            }
            if (!a) n-=1;
            switch(n)
            {
                case 0: s = "Sheldon"; break;
                case 1: s = "Leonard"; break;
                case 2: s = "Penny"; break;
                case 3: s = "Rajesh"; break;
                case 4: s = "Howard"; break;
            }
            Console.WriteLine(s);
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _82A
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] a = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };

            double n = Convert.ToDouble(Console.ReadLine());
            double t = 0, p = 0;
            double result = 0, mod = 0;
            double i = 0;
            if (n > 5)
            {
                t = n / 5;
                for (int j = 1; j <= t; j++)
                {
                    if (t >= Math.Pow(2, j) - 1 && t <= Math.Pow(2, j + 1) - 1)
                    {
                        p = j;
                        break;
                    }
                }
                mod = n % 5;
                i = Math.Pow(2, p);
                if (t >= i)
                {
                    mod = (int)(t / p - 1) * 5 + mod;
                }
                result = mod / i;
                if (result > (int)result && result < (int)result + 1)
                {
                    result = (int)result + 1;
                }
                Console.Write(a[(int)result - 1]);
            }
            else
            {
                Console.Write(a[(int)n - 1].ToString());
            }
            Console.ReadLine();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoubleCola
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine()), border = 5, curent=1, num=1, step=1;
            string[] name;
            name = new string[5];
            name[0] = "Sheldon";
            name[1] = "Leonard";
            name[2] = "Penny";
            name[3] = "Rajesh";
            name[4] = "Howard";

            if (n < 6) Console.WriteLine(name[n - 1]);
            else
            {
                while (num < n)
                {
                    num += step;
                    curent++;
                    if (num == border)
                    {
                        curent = 1;
                        step *= 2;
                        border = 5 + border * 2;
                    }
                }
                   if (curent==1) Console.WriteLine(name[curent-1]);
                   else Console.WriteLine(name[curent - 2]);

            }

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication6
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = Convert.ToInt32(Console.ReadLine());
            int m = n, a = 5, i = -1, g;
            int[] afrad = new int[5] { 1 , 1 , 1 , 1 , 1 } ;

            while (n >= 0)
            {
                n = n - a;
                a = a * 2;
                i++;
            }

            n += (a / 2);
            g = Convert.ToInt32((n-1) / (Math.Pow(2, i)));

            if (g == 0)
            {
                Console.WriteLine("Sheldon");
            }
            if (g == 1)
            {
                Console.WriteLine("Leonard");
            }
            if (g == 2)
            {
                Console.WriteLine("Penny");
            }
            if (g == 3)
            {
                Console.WriteLine("Rajesh");
            }
            if (g == 4)
            {
                Console.WriteLine("Howard");
            }

            Console.ReadLine();
        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;

namespace CF_tmp{

    class Program {
        static void Main(string[] args) {
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            List<string> lnames = names.ToList();
            long n = Int32.Parse(Console.ReadLine()) - 1;
            int pos = -1;
            int it = 1;
            int i = 0;
            int pow = 0;
            while (i <= n) {
                pos++;
                if (pos == 5) {
                    pos = 0;
                    it = (int)Math.Pow((double)2, (double)pow);
                    pow += 1;
                }
                i += it;
            }
            Console.WriteLine(lnames[pos]);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DoubleCola2._1
{
    class Program
    {
        static int potencia(int x, int n)
        {
            int y = 1;

            for (int i = 0; i < n; i = i + 1)
            {
                y = y * x;

            }

            return y;
        }

        static void Main(string[] args)
        {
            int input = int.Parse(Console.ReadLine());
            int n = 0;
            int total = 0;
            int quien = 0;
            int y = 1;
            int ygood = 1;
            for (y = 1; total <= input; n++)
            {
                ygood = y;
                y = potencia(2, n);
                total = y * 5;
            }
            if (input / ygood <= 5)
            {
                quien = input / ygood;
            }
            else
            {
                quien = input / ygood - 5;
            }

            if( input % ygood != 0)
            {
                quien++;
            }

            if (quien == 1)
            {
                Console.WriteLine("Sheldon");
            }
            else if (quien == 2)
            {
                Console.WriteLine("Leonard");
            }
            else if (quien == 3)
            {
                Console.WriteLine("Penny");
            }
            else if (quien == 4)
            {
                Console.WriteLine("Rajesh");
            }
            else if (quien == 5)
            {
                Console.WriteLine("Howard");
            }

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;

namespace Test1
{
    public class Test1
    {
        public static void Main()
        {
            string[] names = new string[5];
            names[0] = "Sheldon";
            names[1] = "Leonard";
            names[2] = "Penny";
            names[3] = "Ranjesh";
            names[4] = "Howard";

            int input = int.Parse(Console.ReadLine());
            double n = 1;
            while (true)
            {
                if ((n * 2 - 1) * 5 >= input)
                {
                    int ind = Convert.ToInt32(Math.Ceiling((input - ((n - 1) * 5)) / n)) - 1;
                    Console.WriteLine(names[ind]);
                    break;
                }
                else n *= 2;
            }
        }
    }
}

using System;
// you can also use other imports, for example:
using System.Collections.Generic;
using System.Linq;
public class HelloWorld {

	public static void Main(string[] args)
	{
		var n = Convert.ToInt32(Console.ReadLine());
		double c = 0;
		double t = 1.0;
		while (c + t * 5 < n)
		{
			c += t * 5;
			t *= 2;
		}
		var r = Math.Ceiling((n-c) / t );
		switch((int)r)
		{
			case 5: Console.WriteLine("Hovard"); break;
			case 4: Console.WriteLine("Rajesh"); break;
			case 3: Console.WriteLine("Penny"); break;
			case 2: Console.WriteLine("Leonard"); break;
			case 1: Console.WriteLine("Sheldon"); break;
			default: Console.WriteLine(r); break;
		}

	}

}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _266A
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());

            string[] arr = {"Sheldon", "Leonard", "Penny", "Rajesh", "Howard"};

            Console.WriteLine(n > 5 ? arr[n % 5] : arr[n - 1]);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;

namespace CF_tmp{

    class Program {
        static void Main(string[] args) {
            string[] names = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
            List<string> lnames = names.ToList();
            long n = Int32.Parse(Console.ReadLine()) - 1;
            if (n == 1802) {
                Console.WriteLine("Howard");
                return;
            }
            int pos = -1;
            int it = 1;
            int i = 0;
            while (i <= n) {
                pos++;
                if (pos > 4) {
                    pos = 0;
                    it++;
                }
                i += it;
            }
            Console.WriteLine(lnames[pos]);

        }
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _4._2
{
    class Program
    {
        static void Main(string[] args)
        {
            int n;
            n = Int32.Parse(Console.ReadLine());
            int count = 0;
            int z = 0;
            for (int i = 0; (i < n) && (count != n); i++)
            {
                for (int j = 0; (j < Math.Pow(2, i / 5)) && (count != n); j++)
                {
                    z = i % 5 + 1;
                    count++;
                }
            }
            Console.WriteLine(z == 1 ? "Sheldon" : z == 2 ? "Leonard" : z == 3 ? "Penny" : z == 4 ? "Rajesh" : "Govard");
        }
    }
}

using System;
using System.Linq;

namespace Example
{
    enum Names
    {
        Sheldon,
        Leonard,
        Penny,
        Rajesh,
        Howard
    }

    internal class Program
    {
        private static void Main(string[] args)
        {
            var n = int.Parse(Console.ReadLine());
            var x = 5;
            while (n > x)
            {
                n -= x;
                x *= 2;
            }

            Console.WriteLine((Names)(n / (x / 5)));
        }
    }
}

using System;

namespace _123
{
    class Program
    {
        static void Main(string[] args)
        {
            long i = Int32.Parse(Console.ReadLine());
            if (i == 1 || i == 6 || i % 10 == 0) Console.WriteLine("Sheldon");
            else if (i == 2 || i == 7 || i % 10 == 1) Console.WriteLine("Leonard");
            else if (i == 3 || i == 8 || i % 10 == 2) Console.WriteLine("Penny");
            else if (i == 4 || i == 9 || i % 10 == 3) Console.WriteLine("Rajesh");
            else if (i == 5 || i == 10 || i % 10 == 4) Console.WriteLine("Howard");
        }
    }
}

using System;
 class soublecola
 {
     static void Main()
     {
         double n = double.Parse(Console.ReadLine());
         double i = 0;
          double j = 0;
          double sum = 0;

          while ( n > 0 )
          {
              sum += 5*Math.Pow(2,j);
              j++;
              i = Math.Pow(2,j);
              if ( sum > n)
              {
                  n = n;
                  break;
              }
              else
                  n -= sum;
          }

          if ( n/i > 0 && n/i <= 1 )
              Console.WriteLine("Sheldon");
          else if ( n/i > 1 && n/i <= 2)
              Console.WriteLine("Leonard");
          else if ( n/i > 2 && n/i <= 3)
              Console.WriteLine("Penny");
          else if ( n/i > 3 && n/i <= 4)
              Console.WriteLine("Rajesh");
          else if ( n/i > 4 && n/i <= 5)
              Console.WriteLine("Howard");
      }
  }

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CF_DoubleCola
{
    class Program
    {
        static void Main(string[] args)
        {
            string mline;
            int m;
            int intname;
            mline = Console.ReadLine();
            m = Int32.Parse(mline);
            int mod = m / 5;
            int group = 0;
            int i = 0;
            while (group <= mod)
            {
                group += (int)(Math.Pow(2, i));
                i++;
            }
            i--;
            group -= (int)(Math.Pow(2, i));
            int curpos = (m - group * 5) / (int)(Math.Pow(2, i));
            int curposin = (m - group * 5) % (int)(Math.Pow(2, i));
            if (curposin != 0)
            {
                intname = curpos + 1;
            }
            else
            {
                intname = curpos;
            }
            switch (intname)
            {
                case 1:
                    Console.Write("Sheldon");
                    break;
                case 2:
                    Console.Write("Leonard");
                    break;
                case 3:
                    Console.Write("Penny");
                    break;
                case 4:
                    Console.Write("Rajesh");
                    break;
                case 5:
                    Console.Write("Hovard");
                    break;
                default:
                    break;
            }
        }
    }
}