#### Start

2022-01-14 00:10 AKST

## Ballondyrene Træning

#### End

2022-01-14 05:10 AKST
The end is near!
Contest is over.
Not yet started.
Contest is starting in -127 days 2:12:09

5:00:00

0:00:00

# Problem LDice Cup In many table-top games it is common to use different dice to simulate random events. A “d” or “D” is used to indicate a die with a specific number of faces, d4 indicating a four-sided die, for example. If several dice of the same type are to be rolled, this is indicated by a leading number specifying the number of dice. Hence, 2d6 means the player should roll two six-sided dice and sum the result face values.

Write a program to compute the most likely outcomes for the sum of two dice rolls. Assume each die has numbered faces starting at 1 and that each face has equal roll probability.

### Input

The input consists of a single line with two integer numbers, $N, M$, specifying the number of faces of the two dice.

### Constraints

$4 \leq N,M\leq 20$ Number of faces.

### Output

A line with the most likely outcome for the sum; in case of several outcomes with the same probability, they must be listed from lowest to highest value in separate lines.

Sample Input 1 Sample Output 1
6 6

7

Sample Input 2 Sample Output 2
6 4

5
6
7

Sample Input 3 Sample Output 3
12 20

13
14
15
16
17
18
19
20
21
{"ft_lang_label":"__label__en","ft_lang_prob":0.9016835,"math_prob":0.96809113,"size":1079,"snap":"2022-05-2022-21","text_gpt3_token_len":289,"char_repetition_ratio":0.12744185,"word_repetition_ratio":0.0,"special_character_ratio":0.27710843,"punctuation_ratio":0.08225108,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9537172,"pos_list":[0,1,2],"im_url_duplicate_count":[null,9,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-05-21T11:22:09Z\",\"WARC-Record-ID\":\"<urn:uuid:f8005c58-ec3e-4f72-91fc-7558980b4d18>\",\"Content-Length\":\"20417\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:132f43fd-9321-4546-a064-989518a38f59>\",\"WARC-Concurrent-To\":\"<urn:uuid:61a53ade-a323-40ac-b046-90aa4621c405>\",\"WARC-IP-Address\":\"172.66.43.57\",\"WARC-Target-URI\":\"https://open.kattis.com/contests/je95ne/problems/dicecup\",\"WARC-Payload-Digest\":\"sha1:VBAGFT7HVVRTILPVRTWF2ZRE3RX3ADNF\",\"WARC-Block-Digest\":\"sha1:3BMCYMWR7TGCLY3W3IKGZR3FUYJKBBYH\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-21/CC-MAIN-2022-21_segments_1652662539101.40_warc_CC-MAIN-20220521112022-20220521142022-00501.warc.gz\"}"}