## Back To School '17: 🅱aram🅱e

View as PDF

Points: 3 (partial)
Time limit: 1.0s
Memory limit: 256M

Author:
Problem type

d needs help editing his assignment for English class. He forgot to use periods, and needs your help to fix the errors in his assignment.

If there is a word that starts with a capital letter, then there should be a period in front of the word before it. Also, the text should end with a period.

#### Input Specification

The input will consist of a series of words. There will be at least 1 word, and at most 50.

The text will only contain alphabetical characters and spaces. Words will be separated by a single space, and are all on a single line.

#### Output Specification

Output the text after you have edited it by placing all the periods where they are needed to be placed.

#### Sample Input 1

Justin was infuriated with him for making problem four systested Justin could not do anything about it

#### Sample Output 1

Justin was infuriated with him for making problem four systested. Justin could not do anything about it.

#### Sample Input 2

Programming is a lot of fun It should be introduced to children from a young age Computer Science is our future

#### Sample Output 2

Programming is a lot of fun. It should be introduced to children from a young age. Computer. Science is our future.

#### Sample Input 3

I want some Boneless Pizza

#### Sample Output 3

I want some. Boneless. Pizza.

• commented on March 5, 2021, 8:14 p.m.

haha yes comic sans

• commented on March 18, 2020, 1:14 p.m.

comic sans

• commented on April 6, 2019, 2:36 p.m.

petition to bring comic sans to the rest of the site

• commented on July 1, 2018, 8:46 p.m. edited

Paperless computers... I guess...

• commented on March 4, 2018, 8:54 a.m.

• commented on Nov. 16, 2017, 3:05 p.m.

Boneless Pizza?

• commented on Feb. 7, 2018, 4:12 p.m.

If it ain't got bones in it, then it's BONELESS

• commented on Feb. 8, 2018, 7:48 p.m.

But why waste time writing boneless when all pizzas don't have bones?

• commented on Feb. 8, 2018, 8:22 p.m. edit 2
• commented on Feb. 13, 2021, 10:30 a.m.

oh no...

• commented on Nov. 16, 2017, 7:55 p.m.

Seedless Bananas

• commented on Feb. 7, 2018, 4:08 p.m.

juiceless nuts

• commented on Sept. 9, 2018, 8:51 p.m. edited

Faceless Hair

• commented on Oct. 28, 2018, 10:27 a.m. edit 4

This comment is hidden due to too much negative feedback. Click here to view it.