#279. 字符串是否以'ly'结尾

    ID: 279 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatString-1gesp3字符串

字符串是否以'ly'结尾

Check if String Ends with "ly"

Background

Congcong is learning string manipulation and encountered a simple problem that requires checking if a given string ends with a specific suffix.

Problem Description

Given a string, return true if it ends in "ly".

Input Format

Input is given from standard input in the following format.

A single string SS.

Output Format

Output is printed to standard output in the following format.

Output true if the string ends with "ly\