2017-02-12 00:31:12 -08:00
|
|
|
// Author: Rodney Shaghoulian
|
|
|
|
|
// Github: github.com/rshaghoulian
|
|
|
|
|
// HackerRank: hackerrank.com/rshaghoulian
|
|
|
|
|
|
2017-02-07 01:14:49 -08:00
|
|
|
import java.util.Scanner;
|
|
|
|
|
import java.time.LocalDate;
|
|
|
|
|
|
|
|
|
|
public class Solution {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
/* Read input */
|
|
|
|
|
Scanner scan = new Scanner(System.in);
|
|
|
|
|
int month = scan.nextInt();
|
|
|
|
|
int day = scan.nextInt();
|
|
|
|
|
int year = scan.nextInt();
|
|
|
|
|
scan.close();
|
|
|
|
|
|
|
|
|
|
/* Create LocalDate instance */
|
|
|
|
|
LocalDate date = LocalDate.of(year, month, day);
|
|
|
|
|
System.out.println(date.getDayOfWeek());
|
|
|
|
|
}
|
|
|
|
|
}
|