Problem:
 Score : 100 points    Problem Statement In the Kingdom of AtCoder, people use a language called Taknese, which uses lowercase English letters.  In Taknese, the plural form of a noun is spelled based on the following rules:   If a noun's singular form does not end with s , append s to the end of the singular form.  If a noun's singular form ends with s , append es to the end of the singular form.   You are given the singular form S of a Taknese noun. Output its plural form.      Constraints  S is a string of length 1 between 1000 , inclusive.  S contains only lowercase English letters.         Input Input is given from Standard Input in the following format:  S       Output Print the plural form of the given Taknese word.        Sample Input 1 apple      Sample Output 1 apples  apple ends with e , so its plural form is apples .       Sample Input 2 bus      Sample Output 2 buses  bus ends with s , so its plural form is buses .       Sample Input 3 box      Sample Output 3 boxs

Solution (Python):
s=str(input())
if s[-1]=='s':
    print(s+'es')
else:
    print(s+'s')

Solution (Python):
S = input()
if S[-1] == 's':
    print(S+'es')
else:
    print(S+'s')

Solution (Python):
s = input()
if s[-1] == "s":
    print(s+"es")
else:
    print(s+"s")

Solution (Python):
N = input()
n_len = len(N)
if N[n_len-1] == 's':
  print(N + 'es')
else:
  print(N + 's')

Solution (Python):
s = input()
if s[-1] == "s":
    print(s+"es")
else:
    print(s + "s")

Solution (Python):
s = input()

if s[-1] == "s":
    s = s + "es"
else:
    s = s + "s"
    
print(s)

Solution (Python):
s=input()
if s[-1] == 's': print(s+"es")
else: print(s+"s")

Solution (Python):
s = input()
if s[-1] == "s":
    print(s + "es")
else:
    print(s + "s")

Solution (Python):
S = input()
print(S + 'es' if S[-1] == 's' else S + 's')

Solution (Python):
def main():
    S = str(input())
    if S[-1] == 's':
        print(f'{S}es')
    else:
        print(f'{S}s')

main()

Solution (Python):
S = input()
if S[-1] != 's':
    print(S+'s')
else:
    print(S+'es')

Solution (Python):
s = input()

if s[-1] == 's':
  s += 'es'
else:
  s += 's'

print(s)

Solution (Python):
if __name__ == '__main__':

	s = input()
	
	if s[-1] == "s":
		print(s+"es")
	else:
		print(s+"s")

Solution (Python):
s = input()
if s[-1] == "s":
  print(s + "es")
else:
  print(s + "s")

Solution (Python):
s=input()
if s[-1]=='s':
  s+='es'
else:
  s+='s'
print(s)

Solution (Python):
import sys
sys.setrecursionlimit(10**9)

class ABC(object):

    def __init__(self):
        pass


    def main(self):
        s = input()
        
        if s[-1] == 's':
            s += 'es'
        else:
            s += 's'
        
        print(s)
        return


if __name__ == "__main__":
    obj = ABC()
    obj.main()
    sys.exit(0)

Solution (Python):
a =input()
d = a[-1:]

if d =="s":
    print(a+"es")

else :
    print(a+"s")

Solution (Python):
S = input()
if S[-1] == "s":
  S = S + "es"
else:
  S = S + "s"
print(S)

Solution (Python):
s = input()

if s[-1] == 's':
  print(s + 'es')
else:
  print(s + 's')

Solution (Python):
S = input()

if S[-1] != 's':
    print(S+'s')
else:
    print(S+'es')

Solution (Python):
s = input()
if s[-1]=='s':
	s=s+'es'
else:
	s=s+'s'

print(s)

Solution (Python):
s = str(input())

if s[len(s) - 1] != 's':
    print(s,'s',sep = "")
else :
    print(s,'es',sep = "")

Solution (Python):
def main():
    s = input()
    if s[-1] == "s":
        print(s+"es")
    else:
        print(s+"s")
    

if __name__ == '__main__':
    main()

Solution (Python):
s = input()
if(s[-1]=='s'):
    s+="es"
else:
    s+="s"
print(s)

Solution (Python):
s=input()
if s[len(s)-1]=="s":
    s=s+"es"
else:
    s=s+"s"
print(s)

Solution (Python):



S=input()
if S[-1]=='s':
    print(S+'es')
else:
    print(S+'s')

Solution (Python):
s = input()
if s[-1] == 's':
    print(s+"es")
else:
    print(s+"s")

Solution (Python):
S = input()

if S[-1] == 's':
    ANS = S + 'es'
else:
    ANS = S + 's'
print(ANS)

Solution (Python):

s = input()

if s[-1] == "s":
    print(s + "es")
else:
    print(s + "s")

Solution (Python):
s = input()

if s[-1]=='s':
    print(s+'es')
else:
    print(s+'s')

Solution (Python):
s = input()

if s[-1] == "s":
    s += "es"
else:
    s += "s"

print(s)

Solution (Python):
s=input()
if s.endswith('s'):
	print(s+"es")
else:
	print(s+"s")

Solution (Python):


import numpy as np
S=input()

if S[-1]=="s":
    S+="es"
else:
    S+="s"

print(S)

Solution (Python):


import sys
import math
import time

import collections
from collections import deque
from collections import Counter
import queue
import copy
import bisect
import heapq
import itertools









S = str(input())
ans = 0
if(S[len(S)-1]=="s"):
    print(S+"es")
else:
    print(S+"s")

Solution (Python):
N = input()


if(N[-1] == "s"):
    print(N+"es")

else:
    print(N+"s")

Solution (Python):
s = str(input())
if s[-1] == "s":
  print(s+"es")
else:
  print(s+"s")

Solution (Python):
N=input()
if N[-1]!="s":
    print(f"{N}s")
else:
    print(f"{N}es")

Solution (Python):
S=str(input())
if S[-1]=='s':
    S=S+'es'
else:
    S=S+'s'
print(S)

Solution (Python):
S = input()
if S[len(S)-1]=="s" :
    print(S+"es")
else :
    print(S+"s")

Solution (Python):
s = input()

if s[-1] == "s":
    print(s + "es")
else:
    print(s + "s")

Solution (Python):
s = input()
if s[-1] == 's':
    s += 'es'
else:
    s += 's'
print(s)

Solution (Python):
s = input()
if s[-1:]=='s':
    s+="es"
else:
    s+="s"
print(s)

Solution (Python):
def main():
    s = input()

    if s[-1] == "s":
        s = s + "es"
    else:
        s = s + "s"

    print(s)

if __name__ == "__main__":
    main()

Solution (Python):
s = input()
if s[-1] == 's':
    print(s+'es')
else:
    print(s+'s')

Solution (Python):
Ss = input().rstrip()

if Ss[-1] != 's':
    Ss += 's'
else:
    Ss += 'es'

print(Ss)

Solution (Python):
s = input()
if s[len(s)-1] == "s":
  ans = s+"es"
else:
  ans = s+"s"
  
print(ans)

Solution (Python):
s = input()

if s[-1] == "s":
    s += "es"
else:
    s += "s"

print(s)

Solution (Python):
s = input()
s = s+'es' if s[-1] =='s' else s+'s'
print(s)

Solution (Python):
S = input()
res = ""
if S[-1] == "s":
  res = S+"es"
else:
  res = S + "s"
print(res)

Solution (Python):
s=input();print(s+"ess"[s[-1]!="s"::2])

Solution (Python):
import sys
import math



s = input()
if s[-1] == 's':
	s += 'es'
	print(s)

else:
	print(s+'s')

Solution (Python):
A=input()
if A[-1]=="s":
  print(A+"es")
else:
  print(A+"s")

Solution (Python):
a=input()
if a[-1]=='s':
  print(a+'es')
else:
  print(a+'s')

Solution (Python):
S=list(str(input()))

if S[-1]=='s':
    S.append('es')
    print("".join(S))
else:
    S.append('s')
    print("".join(S))

Solution (Python):
S = str(input())
if S[-1] == "s":
    ans = S + "es"
else:
    ans = S + "s"
print(ans)

Solution (Python):
S=str(input())
if S[-1]!="s":
    print(S+"s")
else:
    print(S+"es")

Solution (Python):
s = input()
if s[-1] == 's':
  print(s+'es')
else:
  print(s+'s')

Solution (Python):
S = input()
print(S + "es" if S[-1] == "s" else S + "s")

Solution (Python):
S = input()


if S[-1] == "s" :
  print(S+"es")
else:
  print(S+"s")

Solution (Python):
S = input()
if S[-1]=="s":
    print(S+"es")
else:
    print(S+"s")

Solution (Python):
s = input()
if s[len(s) - 1] == "s":
    print(s + "es")
else:
    print(s + "s")

Solution (Python):
s = input()
if s[-1] == 's':
    print(s + 'es')
else:
    print(s + 's')

Solution (Python):
S = input()

if S[-1] != 's':
    print(S+'s')
else:
    print(S+'es')

Solution (Python):



import sys
from io import StringIO
import unittest


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """apple"""
        output = """apples"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """bus"""
        output = """buses"""
        self.assertIO(input, output)

    def test_入力例_3(self):
        input = """box"""
        output = """boxs"""
        self.assertIO(input, output)


def resolve():
    S = input()
    if S[-1] == "s":
        print(S+"es")
    else:
        print(S+"s")


if __name__ == "__main__":
    
    resolve()

Solution (Python):
S = input()
if S[-1] == "s":
    S += "es"
else:
    S += "s"

print(S)

Solution (Python):
s = input()
if s[-1] == 's':
    print(s+'es')
else:
    print(s+'s')

Solution (Python):
s = input()

if s[-1] == 's':
    s += 'es'
else:
    s += 's'

print(s)

Solution (Python):
s = input()
if s[-1] == "s":
    print(s + "es")
else:
    print(s + "s")

Solution (Python):
def readInts():
  return [int(i) for i in input().split()]


S = input()

if S[-1] == 's':
  print(S + 'es')
else:
  print(S + 's')

Solution (Python):
s=input().strip()
print(s+"es" if s[-1]=="s" else s+"s")

Solution (Python):
x = input()
if x[-1] == "s":
    x += "es"
else:
    x += "s"
print(x)

Solution (Python):
s = input()
if s[-1] != 's':
    print(s+'s')
else:
    print(s+'es')

Solution (Python):
s = input()
if s[-1] != 's':
  s += 's'
else:
  s += 'es'
print(s)

Solution (Python):
S = input()
if S[-1] == 's':
	print(S + 'es')
else:
	print(S + 's')

Solution (Python):
S = input()

if S[-1] == "s":
    ans = S + "es"
else:
    ans = S + "s"
print(ans)

Solution (Python):
word = input()
if word[-1] == "s":
    ans = word + "es"
else:
    ans = word + "s"
print(ans)

Solution (Python):


import sys
readline = sys.stdin.readline
read = sys.stdin.read




s = input()
if s[-1]=="s":
    print(s+"es")
else:
    print(s+"s")

Solution (Python):
S = input()
if (S[-1] == 's'):
    print(S + "es")
else:
    print(S + 's')

Solution (Python):
S = input()
print(S + "es" if S[-1] == "s" else S + "s")

Solution (Python):
s = input()
if s[-1] == "s":
  print(s + "es")
else:
  print(s + "s")

Solution (Python):
s = input()
if s[-1] == "s":
  print(s + "es")
else:
  print(s + "s")

Solution (Python):

S = str(input())
if S[-1] == 's':
    print(S+'es')
else:
    print(S+'s')

Solution (Python):
text = input()

if text[len(text) - 1] == "s":
    print(text + "es")
else:
    print(text + "s")

Solution (Python):
n=input().strip()
if n[-1]=="s":
    print(n+"es")
else:
    print(n+"s")

Solution (Python):
S = input()

if S[-1] == "s":
    print(S+"es")
else:
    print(S+"s")

Solution (Python):
s=list(input())
if s[-1]=='s':
    s.append('es')
else:
    s.append('s')    
for i in s:
    print(i,end='')

Solution (Python):
s = str(input())
su = 'es' if s[-1] == 's' else 's'
print(s + su)

Solution (Python):
s = input()
if s[-1] == 's':
  print(s + 'es')
else:
  print(s + 's')

Solution (Python):
s = str(input())
if s[-1] == 's':
    s += 'es'
else:
    s += 's'
print(s)

Solution (Python):


s = input()

if s[-1] == 's':
    print(s + 'es')
else:
    print(s + 's')

Solution (Python):
a = input()
if(a[-1] == "s"):
    print(a+"es")
else:
    print(a+"s")

Solution (Python):
s = input()

if s[len(s)-1] == 's':
    print(s+"es")
else:
    print(s+"s")

Solution (Python):
s=input()
if s[-1] == 's':
    print(s+'es')
else:
    print(s+'s')

Solution (Python):
S = input()
if S[-1] == "s":
    S += "es"
else:
    S += "s"
print(S)

Solution (Python):
s=input()
if s[-1]=='s':
    print(s+'es')
else:
    print(s+'s')

Solution (Python):
s = input()

if s[-1] == "s":
    print(s + "es")
else:
    print(s + "s")

Solution (Python):
s = input()
if s[-1] == "s":
    print(s+"es")
else:
    print(s+"s")

Solution (Python):
import sys

input = sys.stdin.readline

S = input()
S = S.replace('\n','')
s_list = list(S)

if s_list[-1] == "s":
    new_S = S + "es"
else:
    new_S = S + "s"
    
print(new_S)

Solution (Python):
s = input()
if s[-1] == "s":
    ans = s + "es"
else:
    ans = s + "s"
print(ans)

Solution (Python):
S = input()

if S[-1] == "s":
    print(S + "es")
else:
    print(S + "s")

Solution (Python):
from sys import stdin
def I():
    return stdin.readline().rstrip()
def MI():
    return map(int,stdin.readline().rstrip().split())
def LI():
    return list(map(int,stdin.readline().rstrip().split()))

s=I()
if s[-1]=='s':
    print(s+'es')
else:print(s+'s')

Solution (Python):

import sys
import numpy as np


def solve(S: str):
    if S[-1]=="s":
        print(S+"es")
    else:
        print(S+"s")
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    S = next(tokens)  
    solve(S)

if __name__ == '__main__':
    main()

Solution (Python):
def resolve():
    s = input()
    if s[-1] == "s":
        print(s + "es")
    else:
        print(s + "s")


if __name__ == '__main__':
    resolve()

Solution (Python):
s=str(input())
print(s+"s" if s[-1]!="s" else s+"es")

Solution (Python):
def main():
    S = input()
    if S[-1] == 's':
        print(S + 'es')
    else:
        print(S + 's')

if __name__ == '__main__':
    main()

Solution (Python):
N = input()
if(N[-1] != 's'):
    print(N + "s")
else:
    print(N + "es")

Solution (Python):
S = input()
if S[len(S)-1]=='s':
  print(S+'es')
else:
  print(S+'s')

Solution (Python):
def resolve():
    S = input()
    if S[-1]=="s":
        print(S+"es")
    else:
        print(S+"s")
        
resolve()

Solution (Python):
word = input()

if word[-1] != 's':
    print(word+'s')
else:
    print(word+'es')

Solution (Python):
s = input()

if s[-1] == "s":
    print(s + "es")
else:
    print(s + "s")

Solution (Python):
n = list(input())
if n[-1] == "s":
    n.append("e")
    n.append("s")
else:
    n.append("s")

print("".join(n))

Solution (Python):
S = input()

if S[-1] == "s":
    print(S + "es")
else:
    print(S + "s")

Solution (Python):
w = input()
if w[-1] != 's':
    w += 's'
else:
    w += 'es'
print(w)

Solution (Python):
s = input()
if s[-1] == 's':
  print(s + "es")
else:
  print(s + "s")

Solution (Python):
s = input()
if s[-1] == "s":
    print(s + "es")
else:
    print(s + "s")

Solution (Python):
A = input()
A = A + "es" if A[-1] == "s" else A + "s"
print(A)

Solution (Python):
a = input()
if a[len(a)-1] == "s":
    print(a + "es")
else:
    print(a + "s")

Solution (Python):

s = str(input())
if s[-1] == "s":
  print(s+"es")
else:
  print(s+"s")

Solution (Python):
a=input()
if a[-1]=='s':
  print(a+'es')
else:
  print(a+'s')

Solution (Python):
import sys
import itertools

x = str(input())

if x[-1] == 's':
    print(x+'es')
else:
    print(x+'s')

Solution (Python):
S = input()
if S[-1] == "s":
    print(S+"es")
else:
    print(S+"s")

Solution (Python):
S = input()
if S[-1] != 's':
  print(S + 's')
else:
  print(S + 'es')

Solution (Python):
s=input()
if s[-1]=="s":
    s+="es"
else:
    s+="s"
print(s)

Solution (Python):
s = input()
if s[-1] == 's':
  print(s + 'es')
else:
  print(s + 's')

Solution (Python):
S = input()

if S[-1]=="s":
  S += "es"
else:
  S+= "s"
print(S)

Solution (Python):
s = input()
if s[-1] == 's':
    print(s + 'es')
else:
    print(s + 's')

Solution (Python):
S=input()
if(S[-1]=='s'):
    print(S+'es')
else:
    print(S+'s')

Solution (Python):
import math



C = input()

if C[-1] == "s":
    print(C+"es")
else:
    print(C+"s")

Solution (Python):
s=input()
if s[-1]=='s':
    ans=s+'es'
else:
    ans=s+'s'

print(ans)

Solution (Python):
s = input()
if s[-1]=='s':
    s+='es'
else:
    s+='s'
print(s)

Solution (Python):
s = input()

if (s[-1] == "s"):
    s += "es"
else:
    s += "s"
print(s)

Solution (Python):
S = input()
if S[-1] == "s":
    S += "es"
else:
    S += "s"

print(S)

Solution (Python):
s = input()

if s[-1] == 's':
  print(s + 'es')
else:
  print(s + 's')

Solution (Python):
S=input()

if S[-1]=="s":
    ans=S+"es"
else:
    ans=S+"s"

print(ans)

Solution (Python):
s = input()
if s[len(s)-1] == "s":
        print(s + "es")
else:
        print(s + "s")

Solution (Python):
S = input()
print(S + "es" if S[-1] == "s" else S + "s")

Solution (Python):
s = input()
if s[len(s)-1] == 's':
    print(s+"es")
else:
    print(s+"s")

Solution (Python):
s = input()

if s[-1]=='s':
    s+='es'
else:
    s+='s'
print(s)

Solution (Python):
def main():

    S = input()

    if S[-1] != "s":
        print(S + "s")
    else:
        print(S + "es")

main()

Solution (Python):
S = input()

if S[-1] == 's':
    S = S + 'es'
else:
    S = S + 's'

print(S)

Solution (Python):
n = input()
if n[-1] == 's':
  print(n + 'es')
else:
  print(n + 's')