package com.codegym.task.task04.task0443;
public class Solution
{
public static void main(String[] args) throws Exception
{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String name = reader.readLine();
int month = Integer.parseInt(reader.readLine());
int day = Integer.parseInt(reader.readLine());
int year = Integer.parseInt(reader.readLine());
System.out.println("My name is " + name + ".\nI was born on " + month + "/" + day + "/" + year);
}
}
package com.codegym.task.task04.task0443;
/*
A name is a name
*/
import java.io.*;
public class Solution
{
public static void main(String[] args) throws Exception
{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String name = reader.readLine();
int month = Integer.parseInt(reader.readLine());
int day = Integer.parseInt(reader.readLine());
int year = Integer.parseInt(reader.readLine());
System.out.println("My name is " + name + ".\nI was born on " + month + "/" + day + "/" + year);
}
}